Changeset 140 for smplayer/vendor/current/src/skingui/mediabarpanel.cpp
- Timestamp:
- May 23, 2013, 5:06:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/skingui/mediabarpanel.cpp
r137 r140 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 2Ricardo Villalba <[email protected]>2 Copyright (C) 2006-201 Ricardo Villalba <[email protected]> 3 3 umplayer, Copyright (C) 2010 Ori Rejwan 4 4 … … 54 54 55 55 connect(volumeControlPanel, SIGNAL(volumeChanged(int)), this, SIGNAL(volumeChanged(int))); 56 56 57 connect(mediaPanel, SIGNAL(seekerChanged(int)), this, SIGNAL(seekerChanged(int))); 57 58 } … … 99 100 connect( core, SIGNAL(showTime(double)), this, SLOT(gotCurrentTime(double)) ); 100 101 connect( core, SIGNAL(mediaInfoChanged()), this, SLOT(updateMediaInfo()) ); 101 /* connect( core, SIGNAL(buffering()), this, SLOT(setBuffering()) ); */102 102 103 } 103 104 … … 119 120 void MediaBarPanel::updateMediaInfo() 120 121 { 121 mediaPanel->setMediaLabelText(core->mdat.displayName()); 122 QString s = QString("%1 (%2x%3)").arg(core->mdat.displayName()).arg(core->mdat.video_width).arg(core->mdat.video_height); 123 mediaPanel->setMediaLabelText(s); 122 124 } 123 125
Note:
See TracChangeset
for help on using the changeset viewer.
