OTHER: Fix timedisplay for playtimes >= 100 minutes
If the playtime is bigger or equal to 100 minutes, timedisplay shows hours and minutes now, if playtime is bigger or equal to 100 hours, timedisplay gives up and only showes '--:--'
This commit is contained in:
parent
fb264e8d0e
commit
18bcad6f99
4 changed files with 44 additions and 14 deletions
|
@ -122,8 +122,10 @@ void
|
|||
Skin::BuildEqualizer (void)
|
||||
{
|
||||
QPixmap *img = getPixmap ("eqmain");
|
||||
// eq_ex is optional, so this Pointer can be null. check before using it
|
||||
QPixmap *imgex = getPixmap ("eq_ex");
|
||||
if (img && imgex) {
|
||||
|
||||
if (img) {
|
||||
m_items[EQ_WIN_BG] = img->copy (0, 0, 275, 116);
|
||||
|
||||
if (img->height () > 294) {
|
||||
|
@ -139,7 +141,9 @@ Skin::BuildEqualizer (void)
|
|||
|
||||
icon = QIcon ();
|
||||
icon.addPixmap (img->copy (254, 3, 9, 9), QIcon::Normal, QIcon::Off);
|
||||
icon.addPixmap (imgex->copy ( 1, 38, 9, 9), QIcon::Active, QIcon::Off);
|
||||
if (imgex) {
|
||||
icon.addPixmap (imgex->copy ( 1, 38, 9, 9), QIcon::Active, QIcon::Off);
|
||||
}
|
||||
m_icons[BUTTON_EQ_SHADE] = icon;
|
||||
|
||||
icon = QIcon ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue