OTHER: small fix to correctly connect Windows to the mainwindow after a showEvent

Previously a show event in PlaylistWindow and EqualizerWindow didn't connect
those windows to the Mainwindow
This commit is contained in:
Thomas Frauendorfer 2008-03-03 02:06:27 +01:00
parent 25e24dc9c7
commit 87771bfe11
2 changed files with 2 additions and 0 deletions

View file

@ -53,6 +53,7 @@ EqualizerWindow::showEvent (QShowEvent *event)
{
QSettings s;
s.setValue ("equalizer/visible", true);
m_mw->attachWidgets ();
emit visibilityChanged (true);
}

View file

@ -84,6 +84,7 @@ PlaylistWindow::showEvent (QShowEvent *event)
{
QSettings s;
s.setValue ("playlist/visible", true);
m_mw->attachWidgets ();
emit visibilityChanged (true);
}