Ignore:
Timestamp:
Oct 9, 2014, 2:54:21 PM (11 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: updated trunk to 14.9.0

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/prefgeneral.cpp

    r165 r170  
    7171#endif
    7272
     73#ifndef AUTO_SHUTDOWN_PC
     74        shutdown_widget->hide();
     75#endif
     76
    7377        // Channels combo
    7478        channels_combo->addItem( "2", MediaSettings::ChStereo );
     
    199203        setCloseOnFinish( pref->close_on_finish );
    200204        setPauseWhenHidden( pref->pause_when_hidden );
     205#ifdef AUTO_SHUTDOWN_PC
     206        shutdown_check->setChecked( pref->auto_shutdown_pc );
     207#endif
    201208
    202209        setEq2( pref->use_soft_video_eq );
     
    288295        pref->close_on_finish = closeOnFinish();
    289296        pref->pause_when_hidden = pauseWhenHidden();
     297
     298#ifdef AUTO_SHUTDOWN_PC
     299        pref->auto_shutdown_pc = shutdown_check->isChecked();
     300#endif
    290301
    291302        TEST_AND_SET(pref->use_soft_video_eq, eq2());
     
    901912           "screenshot feature will be disabled.") );
    902913
    903         setWhatsThis(close_on_finish_check, tr("Close when finished"),
    904                 tr("If this option is checked, the main window will be automatically "
    905                    "closed when the current file/playlist finishes.") );
    906 
    907914        setWhatsThis(pause_if_hidden_check, tr("Pause when minimized"),
    908915                tr("If this option is enabled, the file will be paused when the "
    909916           "main window is hidden. When the window is restored, playback "
    910917           "will be resumed.") );
     918
     919        setWhatsThis(close_on_finish_check, tr("Close when finished"),
     920                tr("If this option is checked, the main window will be automatically "
     921                   "closed when the current file/playlist finishes.") );
     922
     923#ifdef AUTO_SHUTDOWN_PC
     924        setWhatsThis(shutdown_check, tr("Shut down computer"),
     925                tr("If this option is enabled, the computer will shut down just after SMPlayer is closed.") );
     926#endif
    911927
    912928        // Video tab
Note: See TracChangeset for help on using the changeset viewer.