rewrote Button and ToggleButton to use the new PixmapButton as baseclass.
This commit is contained in:
parent
e2fdb4e009
commit
efa16e9236
15 changed files with 115 additions and 146 deletions
|
@ -113,9 +113,10 @@ MainWindow::togglePL (bool UpdateButton)
|
|||
|
||||
if(UpdateButton)
|
||||
{
|
||||
getMD()->GetPls()->toggleOn();
|
||||
getMD()->GetPls()->toggle();
|
||||
}
|
||||
|
||||
|
||||
if (s.value ("playlist/hidden").toBool ()) {
|
||||
m_playlistwin->move (s.value("playlist/pos").toPoint ());
|
||||
m_playlistwin->show ();
|
||||
|
@ -134,7 +135,7 @@ MainWindow::toggleEQ (bool UpdateButton)
|
|||
|
||||
if(UpdateButton)
|
||||
{
|
||||
getMD()->GetEq()->toggleOn();
|
||||
getMD()->GetEq()->toggle();
|
||||
}
|
||||
|
||||
if (s.value ("equalizer/hidden").toBool ()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue