Changeset 163 for smplayer/vendor/current/src/prefdrives.cpp
- Timestamp:
- May 15, 2014, 7:53:54 PM (12 years ago)
- File:
-
- 1 edited
-
smplayer/vendor/current/src/prefdrives.cpp (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/prefdrives.cpp
r140 r163 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 3Ricardo Villalba <[email protected]>2 Copyright (C) 2006-201 Ricardo Villalba <[email protected]> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 56 56 #endif 57 57 58 59 60 61 62 58 63 updateDriveCombos(); 59 64 … … 79 84 cdrom_drive_icon->setPixmap( Images::icon("cdrom_drive") ); 80 85 dvd_drive_icon->setPixmap( Images::icon("dvd_drive") ); 86 87 88 81 89 82 90 createHelp(); … … 89 97 QString current_dvd_device = dvdDevice(); 90 98 QString current_cd_device = cdromDevice(); 99 100 101 91 102 92 103 dvd_device_combo->clear(); 93 104 cdrom_device_combo->clear(); 105 106 107 94 108 95 109 // DVD device combo … … 105 119 dvd_device_combo->addItem( s ); 106 120 cdrom_device_combo->addItem( s ); 121 122 123 107 124 } 108 125 } … … 116 133 dvd_device_combo->addItem(device_name); 117 134 cdrom_device_combo->addItem(device_name); 135 136 137 118 138 } 119 139 #endif … … 122 142 setDVDDevice( current_dvd_device ); 123 143 setCDRomDevice( current_cd_device ); 144 145 146 124 147 } 125 148 … … 127 150 setDVDDevice( pref->dvd_device ); 128 151 setCDRomDevice( pref->cdrom_device ); 152 153 154 129 155 130 156 #if DVDNAV_SUPPORT … … 138 164 pref->dvd_device = dvdDevice(); 139 165 pref->cdrom_device = cdromDevice(); 166 167 168 140 169 141 170 #if DVDNAV_SUPPORT … … 151 180 return dvd_device_combo->currentText(); 152 181 } 182 183 184 185 186 187 188 189 190 191 153 192 154 193 void PrefDrives::setCDRomDevice( QString dir ) { … … 187 226 #if DVDNAV_SUPPORT 188 227 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 " 191 230 "support.") +"<br>" + 192 231 tr("<b>Note 1</b>: cache will be disabled, this can affect performance.") +"<br>"+ … … 196 235 "issues with it.")); 197 236 #endif 237 238 239 240 241 198 242 } 199 243
Note:
See TracChangeset
for help on using the changeset viewer.
