Ignore:
Timestamp:
Dec 3, 2012, 5:29:00 PM (13 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: updated vendor to 0.8.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smplayer/vendor/current/src/prefadvanced.cpp

    r127 r137  
    123123
    124124        setUseShortNames( pref->use_short_pathnames );
     125
     126        setMplayerCrashes( pref->report_mplayer_crashes );
    125127}
    126128
     
    182184
    183185        pref->use_short_pathnames = useShortNames();
     186
     187        pref->report_mplayer_crashes = mplayerCrashes();
    184188}
    185189
     
    223227bool PrefAdvanced::useShortNames() {
    224228        return shortnames_check->isChecked();
     229}
     230
     231void PrefAdvanced::setMplayerCrashes(bool b) {
     232        mplayer_crashes_check->setChecked(b);
     233}
     234
     235bool PrefAdvanced::mplayerCrashes() {
     236        return mplayer_crashes_check->isChecked();
    225237}
    226238
     
    410422           "<b>Note:</b> the creation of the index may take some time.") );
    411423
     424#ifdef Q_OS_WIN
     425        setWhatsThis(shortnames_check, tr("Pass short filenames (8+3) to MPlayer"),
     426                tr("Currently MPlayer can't open filenames which contains characters "
     427           "outside the local codepage. Checking this option will make "
     428           "SMPlayer to pass to MPlayer the short version of the filenames, "
     429           "and thus it will able to open them.") );
     430#endif
     431
     432#if REPAINT_BACKGROUND_OPTION
     433        setWhatsThis(repaint_video_background_check,
     434        tr("Repaint the background of the video window"),
     435                tr("Checking this option may reduce flickering, but it also might "
     436           "produce that the video won't be displayed properly.") );
     437#endif
     438
     439        setWhatsThis(mplayer_crashes_check,
     440                tr("Report MPlayer crashes"),
     441                tr("If this option is checked, a window will appear to inform "
     442           "about MPlayer crashes. Otherwise those failures will be "
     443           "silently ignored.") );
     444
    412445        setWhatsThis(correct_pts_combo, tr("Correct pts"),
    413446                tr("Switches MPlayer to an experimental mode where timestamps for "
     
    419452           "will typically be off by some frames. This option does not work "
    420453           "correctly with some demuxers and codecs.") );
    421 
    422 #ifdef Q_OS_WIN
    423         setWhatsThis(shortnames_check, tr("Pass short filenames (8+3) to MPlayer"),
    424                 tr("Currently MPlayer can't open filenames which contains characters "
    425            "outside the local codepage. Checking this option will make "
    426            "SMPlayer to pass to MPlayer the short version of the filenames, "
    427            "and thus it will able to open them.") );
    428 #endif
    429 
    430 #if REPAINT_BACKGROUND_OPTION
    431         setWhatsThis(repaint_video_background_check,
    432         tr("Repaint the background of the video window"),
    433                 tr("Checking this option may reduce flickering, but it also might "
    434            "produce that the video won't be displayed properly.") );
    435 #endif
    436 
    437 #if USE_COLORKEY
    438         setWhatsThis(colorkey_view, tr("Colorkey"),
    439         tr("If you see parts of the video over any other window, you can "
    440            "change the colorkey to fix it. Try to select a color close to "
    441            "black.") );
    442 #endif
    443454
    444455        setWhatsThis(actions_to_run_edit, tr("Actions list"),
     
    454465           "audio or video filter).") );
    455466
     467#if USE_COLORKEY
     468        setWhatsThis(colorkey_view, tr("Colorkey"),
     469        tr("If you see parts of the video over any other window, you can "
     470           "change the colorkey to fix it. Try to select a color close to "
     471           "black.") );
     472#endif
     473
    456474        setWhatsThis(show_tag_in_title_check, tr("Show tag info in window title"),
    457475                tr("If this option is enabled, information from tags will be "
Note: See TracChangeset for help on using the changeset viewer.