Ignore:
Timestamp:
May 16, 2014, 9:51:55 AM (12 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update trunk to latest 0.8.7

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/prefinput.cpp

    r142 r165  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2013 Ricardo Villalba <[email protected]>
     2    Copyright (C) 2006-201 Ricardo Villalba <[email protected]>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    173173        setWheelFunctionCycle(pref->wheel_function_cycle);
    174174        setWheelFunctionSeekingReverse(pref->wheel_function_seeking_reverse);
     175
    175176}
    176177
     
    187188        pref->wheel_function_cycle = wheelFunctionCycle();
    188189        pref->wheel_function_seeking_reverse = wheelFunctionSeekingReverse();
     190
    189191}
    190192
     
    266268}
    267269
    268 void PrefInput::setWheelFunctionCycle(QFlags<Preferences::WheelFunctions> flags){
     270void PrefInput::setWheelFunctionCycle( flags){
    269271        wheel_function_seek->setChecked(flags.testFlag(Preferences::Seeking));
    270272        wheel_function_volume->setChecked(flags.testFlag(Preferences::Volume));
     
    273275}
    274276
    275 QFlags<Preferences::WheelFunctions> PrefInput::wheelFunctionCycle(){
    276         QFlags<Preferences::WheelFunctions> seekflags (QFlag ((int) Preferences::Seeking)) ;
    277         QFlags<Preferences::WheelFunctions> volumeflags (QFlag ((int) Preferences::Volume)) ;
    278         QFlags<Preferences::WheelFunctions> zoomflags (QFlag ((int) Preferences::Zoom)) ;
    279         QFlags<Preferences::WheelFunctions> speedflags (QFlag ((int) Preferences::ChangeSpeed)) ;
    280         QFlags<Preferences::WheelFunctions> out (QFlag (0));
     277 PrefInput::wheelFunctionCycle(){
     278        seekflags (QFlag ((int) Preferences::Seeking)) ;
     279        volumeflags (QFlag ((int) Preferences::Volume)) ;
     280        zoomflags (QFlag ((int) Preferences::Zoom)) ;
     281        speedflags (QFlag ((int) Preferences::ChangeSpeed)) ;
     282        out (QFlag (0));
    281283        if(wheel_function_seek->isChecked()){
    282284                out = out | seekflags;
     
    338340                tr("Select the action for the mouse wheel.") );
    339341
     342
     343
     344
     345
     346
     347
     348
     349
     350
     351
    340352        addSectionTitle(tr("Mouse wheel functions"));
    341353
     
    351363        setWhatsThis(wheel_function_speed, tr("Change speed"),
    352364                tr("Check it to enable changing speed as one function.") );
    353 
    354         setWhatsThis(wheel_function_seeking_reverse_check, tr("Reverse mouse wheel seeking"),
    355                 tr("Check it to seek in the opposite direction.") );
    356 
    357365}
    358366
Note: See TracChangeset for help on using the changeset viewer.