Changeset 181 for smplayer/trunk/src/prefnetwork.cpp
- Timestamp:
- Aug 31, 2016, 5:31:04 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 179
- Property svn:mergeinfo changed
-
smplayer/trunk/src/prefnetwork.cpp
r176 r181 53 53 connect(streaming_type_combo, SIGNAL(currentIndexChanged(int)), this, SLOT(streaming_type_combo_changed(int))); 54 54 55 #ifndef YOUTUBE_SUPPORT 56 youtube_box->hide(); 57 #endif 58 55 59 retranslateStrings(); 56 60 } … … 65 69 66 70 QPixmap PrefNetwork::sectionIcon() { 67 return Images::icon("pref_network" , 22);71 return Images::icon("pref_network"); 68 72 } 69 73 … … 74 78 streaming_type_combo->clear(); 75 79 streaming_type_combo->addItem(tr("Disabled"), Preferences::NoStreaming); 76 #if defined(YOUTUBE_SUPPORT) && defined(MPV_SUPPORT)80 #ifdef MPV_SUPPORT 77 81 streaming_type_combo->addItem(tr("Auto"), Preferences::StreamingAuto); 78 82 #endif … … 168 172 "<ul>" 169 173 "<li><b>" + tr("Disabled") +":</b> " + tr("support for video sites is turned off") +"</li>"+ 170 #if defined(YOUTUBE_SUPPORT) && defined(MPV_SUPPORT)171 "<li><b>" + tr("Auto") +":</b> " + tr(" enables internal support for YouTube and uses mpv + youtube-dl for the rest of the sites") +"</li>"+174 #ifdef MPV_SUPPORT 175 "<li><b>" + tr("Auto") +":</b> " + tr("it will try to use mpv + youtube-dl only for the sites that require it") +"</li>"+ 172 176 #endif 173 177 #ifdef YOUTUBE_SUPPORT
Note:
See TracChangeset
for help on using the changeset viewer.