Ignore:
Timestamp:
May 15, 2014, 7:53:54 PM (12 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update vendor to 0.8.7

File:
1 edited

Legend:

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

    r140 r163  
    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
     
    5656#endif
    5757
     58
     59
     60
     61
     62
    5863        updateDriveCombos();
    5964
     
    7984        cdrom_drive_icon->setPixmap( Images::icon("cdrom_drive") );
    8085        dvd_drive_icon->setPixmap( Images::icon("dvd_drive") );
     86
     87
     88
    8189
    8290        createHelp();
     
    8997        QString current_dvd_device = dvdDevice();
    9098        QString current_cd_device = cdromDevice();
     99
     100
     101
    91102
    92103        dvd_device_combo->clear();
    93104        cdrom_device_combo->clear();
     105
     106
     107
    94108
    95109        // DVD device combo
     
    105119                        dvd_device_combo->addItem( s );
    106120                        cdrom_device_combo->addItem( s );
     121
     122
     123
    107124                }
    108125        }
     
    116133                dvd_device_combo->addItem(device_name);
    117134                cdrom_device_combo->addItem(device_name);
     135
     136
     137
    118138        }
    119139#endif
     
    122142        setDVDDevice( current_dvd_device );
    123143        setCDRomDevice( current_cd_device );
     144
     145
     146
    124147}
    125148
     
    127150        setDVDDevice( pref->dvd_device );
    128151        setCDRomDevice( pref->cdrom_device );
     152
     153
     154
    129155
    130156#if DVDNAV_SUPPORT
     
    138164        pref->dvd_device = dvdDevice();
    139165        pref->cdrom_device = cdromDevice();
     166
     167
     168
    140169
    141170#if DVDNAV_SUPPORT
     
    151180        return dvd_device_combo->currentText();
    152181}
     182
     183
     184
     185
     186
     187
     188
     189
     190
     191
    153192
    154193void PrefDrives::setCDRomDevice( QString dir ) {
     
    187226#if DVDNAV_SUPPORT
    188227        setWhatsThis(use_dvdnav_check, tr("Enable DVD menus"),
    189                 tr("If this option is checked, smplayer will play DVDs using "
    190            "dvdnav. Requires a recent version of mplayer compiled with dvdnav "
     228                tr("If this option is checked, layer will play DVDs using "
     229           "dvdnav. Requires a recent version of layer compiled with dvdnav "
    191230           "support.") +"<br>" +
    192231        tr("<b>Note 1</b>: cache will be disabled, this can affect performance.") +"<br>"+
     
    196235           "issues with it."));
    197236#endif
     237
     238
     239
     240
     241
    198242}
    199243
Note: See TracChangeset for help on using the changeset viewer.