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/preferences.cpp

    r133 r137  
    3939#endif
    4040
    41 #define CURRENT_CONFIG_VERSION 1
     41#define CURRENT_CONFIG_VERSION 2
    4242
    4343using namespace Global;
     
    104104
    105105        use_soft_video_eq = false;
    106         use_slices = true;
     106        use_slices = false;
    107107        autoq = 6;
    108108        add_blackborders_on_fullscreen = false;
     
    302302        show_tag_in_window_title = true;
    303303
     304        time_to_kill_mplayer = 5000;
     305
    304306
    305307    /* *********
     
    486488
    487489        filters->init();
     490
     491
     492    /* *********
     493       SMPlayer info
     494       ********* */
     495
     496#ifdef FONTCACHE_DIALOG
     497        smplayer_version = "";
     498#endif
    488499}
    489500
     
    721732
    722733        set->setValue("show_tag_in_window_title", show_tag_in_window_title);
     734
     735        set->setValue("time_to_kill_mplayer", time_to_kill_mplayer);
    723736
    724737        set->endGroup(); // advanced
     
    927940
    928941
     942    /* *********
     943       SMPlayer info
     944       ********* */
     945
     946#ifdef FONTCACHE_DIALOG
     947        set->beginGroup("smplayer");
     948        set->setValue("version", smplayer_version);
     949        set->endGroup();
     950#endif
     951
    929952        set->sync();
    930953}
     
    11681191
    11691192        show_tag_in_window_title = set->value("show_tag_in_window_title", show_tag_in_window_title).toBool();
     1193
     1194        time_to_kill_mplayer = set->value("time_to_kill_mplayer", time_to_kill_mplayer).toInt();
    11701195
    11711196        set->endGroup(); // advanced
     
    13761401        filters->load(set);
    13771402
     1403
     1404    /* *********
     1405       SMPlayer info
     1406       ********* */
     1407
     1408#ifdef FONTCACHE_DIALOG
     1409        set->beginGroup("smplayer");
     1410        smplayer_version = set->value("version", smplayer_version).toString();
     1411        set->endGroup();
     1412#endif
     1413
    13781414        // Fix some values if config is old
    13791415        if (config_version < CURRENT_CONFIG_VERSION) {
    13801416                qDebug("Preferences::load: config version is old, updating it");
    13811417                config_version = CURRENT_CONFIG_VERSION;
    1382                 /*
    1383                 iconset = "Nuvola";
    1384                 yt_user_agent = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)";
    1385                 */
     1418                use_slices = false;
    13861419        }
    13871420}
Note: See TracChangeset for help on using the changeset viewer.