rewrote Button and ToggleButton to use the new PixmapButton as baseclass.

This commit is contained in:
Thomas Frauendorfer 2008-01-27 07:58:02 +01:00
parent e2fdb4e009
commit efa16e9236
15 changed files with 115 additions and 146 deletions

View file

@ -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 ()) {