Changeset 165 for smplayer/trunk/src/infofile.cpp
- Timestamp:
- May 16, 2014, 9:51:55 AM (11 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 163
- Property svn:mergeinfo changed
-
smplayer/trunk/src/infofile.cpp
r142 r165 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 3Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 49 49 case TYPE_TV : icon = "type_tv.png"; break; 50 50 case TYPE_STREAM : icon = "type_url.png"; break; 51 #ifdef BLURAY_SUPPORT 52 case TYPE_BLURAY : icon = "type_bluray.png"; break; 53 #endif 51 54 default : icon = "type_unknown.png"; 52 55 } 53 56 icon = "<img src=\"" + Images::file(icon) + "\"> "; 54 57 55 if (md.type == TYPE_DVD) { 58 #ifdef BLURAY_SUPPORT 59 if (md.type == TYPE_DVD || md.type == TYPE_BLURAY) 60 #else 61 if (md.type == TYPE_DVD) 62 #endif 63 { 56 64 DiscData disc_data = DiscName::split(md.filename); 57 65 s += title( icon + disc_data.protocol + "://" + QString::number(disc_data.title) ); … … 214 222 215 223 inline QString InfoFile::tr( const char * sourceText, const char * comment, int n ) { 216 return QCoreApplication::translate("InfoFile", sourceText, comment, QCoreApplication:: CodecForTr, n ); 217 } 218 224 #if QT_VERSION >= 0x050000 225 return QCoreApplication::translate("InfoFile", sourceText, comment, n ); 226 #else 227 return QCoreApplication::translate("InfoFile", sourceText, comment, QCoreApplication::CodecForTr, n ); 228 #endif 229 } 230
Note:
See TracChangeset
for help on using the changeset viewer.