Ignore:
Timestamp:
May 23, 2013, 5:06:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update vendor to 0.8.5'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smplayer/vendor/current/src/skingui/mediabarpanel.cpp

    r137 r140  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2012 Ricardo Villalba <[email protected]>
     2    Copyright (C) 2006-201 Ricardo Villalba <[email protected]>
    33    umplayer, Copyright (C) 2010 Ori Rejwan
    44
     
    5454
    5555        connect(volumeControlPanel, SIGNAL(volumeChanged(int)), this, SIGNAL(volumeChanged(int)));
     56
    5657        connect(mediaPanel, SIGNAL(seekerChanged(int)), this, SIGNAL(seekerChanged(int)));
    5758}
     
    99100    connect( core, SIGNAL(showTime(double)), this, SLOT(gotCurrentTime(double)) );
    100101    connect( core, SIGNAL(mediaInfoChanged()), this, SLOT(updateMediaInfo()) );
    101     /* connect( core, SIGNAL(buffering()), this, SLOT(setBuffering()) ); */
     102   
    102103}
    103104
     
    119120void MediaBarPanel::updateMediaInfo()
    120121{
    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);
    122124}
    123125
Note: See TracChangeset for help on using the changeset viewer.