Changeset 154 for smplayer/vendor/current/src/about.cpp
- Timestamp:
- Feb 21, 2014, 4:44:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/about.cpp
r140 r154 55 55 info->setText( 56 56 "<b>SMPlayer</b> © 2006-2013 Ricardo Villalba <rvm@users.sourceforge.net><br><br>" 57 "<b>" + tr("Version: %1").arg( smplayerVersion()) + "</b>" +57 "<b>" + tr("Version: %1").arg(Version::printable()) + "</b>" + 58 58 #if PORTABLE_APP 59 59 " (" + tr("Portable Edition") + ")" + … … 108 108 ); 109 109 110 #ifdef YOUTUBE_SUPPORT111 youtube->setHtml(112 tr("Founded in February 2005, YouTube™ is the world's most popular online "113 "video community, allowing millions of people to discover, watch and share "114 "originally-created videos. YouTube™ provides a forum for people to "115 "connect, inform, and inspire others across the globe and acts as a "116 "distribution platform for original content creators and advertisers large and small.") +117 "<br><br>" +118 tr("By using this application you hereby agree to be bound by Google Terms of Services located "119 "at %1.").arg(link("http://www.google.com/accounts/TOS", "http://www.google.com/accounts/TOS"))120 );121 youtube->setOpenExternalLinks(true);122 #else123 tab_widget->removeTab(4);124 #endif125 110 126 111 // Copy the background color ("window") of the tab widget to the "base" color of the qtextbrowsers … … 130 115 translations_tab->setAutoFillBackground(true); 131 116 license_tab->setAutoFillBackground(true); 132 youtube_tab->setAutoFillBackground(true);133 117 134 118 QPalette pal = info_tab->palette(); … … 139 123 translations_tab->setPalette(pal); 140 124 license_tab->setPalette(pal); 141 youtube_tab->setPalette(pal);142 125 143 126 QPalette p = info->palette(); … … 149 132 translators->setPalette(p); 150 133 license->setPalette(p); 151 youtube->setPalette(p);152 134 153 135 adjustSize();
Note:
See TracChangeset
for help on using the changeset viewer.