Added a PixmapSlider class and changed Slider to inherit from it.
PixmapSlider is a subclass of QAbstractSlider. It is independent of Skin.cpp. Slider is now only a wrapper to update the QPixmaps on a skin change. removed a workaround from equalizerwidget, that was necessary for the previous implementation. 2-3 one line fixes I don't remember
This commit is contained in:
parent
88b8ab8683
commit
6e7e2c2184
10 changed files with 311 additions and 280 deletions
|
|
@ -150,9 +150,11 @@ PosBar::hideBar (bool b)
|
|||
|
||||
if (b) {
|
||||
m_button->hide ();
|
||||
hide ();
|
||||
} else {
|
||||
m_button->show ();
|
||||
}
|
||||
show ();
|
||||
}
|
||||
update();
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue