Changeset 165 for smplayer/trunk/src/skingui/mediabarpanel.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/skingui/mediabarpanel.cpp
r156 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 umplayer, Copyright (C) 2010 Ori Rejwan 4 4 … … 97 97 { 98 98 core = c; 99 connect(core, SIGNAL(mediaStartPlay()), this, SLOT(setDuration()) ); 100 connect( core, SIGNAL(showTime(double)), this, SLOT(gotCurrentTime(double)) ); 101 connect( core, SIGNAL(mediaInfoChanged()), this, SLOT(updateMediaInfo()) ); 102 connect( core, SIGNAL(buffering()), this, SLOT(setBuffering()) ); 99 connect(core, SIGNAL(mediaStartPlay()), this, SLOT(setDuration())); 100 connect(core, SIGNAL(newDuration(double)), this, SLOT(setDuration())); 101 connect(core, SIGNAL(showTime(double)), this, SLOT(gotCurrentTime(double))); 102 connect(core, SIGNAL(mediaInfoChanged()), this, SLOT(updateMediaInfo())); 103 connect(core, SIGNAL(buffering()), this, SLOT(setBuffering())); 103 104 } 104 105 … … 122 123 //QString s = QString("%1 (%2x%3)").arg(core->mdat.displayName()).arg(core->mdat.video_width).arg(core->mdat.video_height); 123 124 mediaPanel->setMediaLabelText(core->mdat.displayName()); 124 QString s = QString("%1x%2").arg(core->mdat.video_width).arg(core->mdat.video_height); 125 mediaPanel->setResolutionLabelText(s); 125 126 if ((core->mdat.video_width != 0) && (core->mdat.video_height != 0)) { 127 QString s = QString("%1x%2").arg(core->mdat.video_width).arg(core->mdat.video_height); 128 mediaPanel->setResolutionLabelText(s); 129 } else { 130 mediaPanel->setResolutionLabelText(" "); 131 } 126 132 } 127 133
Note:
See TracChangeset
for help on using the changeset viewer.