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:
parent
25e24dc9c7
commit
87771bfe11
2 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,7 @@ EqualizerWindow::showEvent (QShowEvent *event)
|
||||||
{
|
{
|
||||||
QSettings s;
|
QSettings s;
|
||||||
s.setValue ("equalizer/visible", true);
|
s.setValue ("equalizer/visible", true);
|
||||||
|
m_mw->attachWidgets ();
|
||||||
|
|
||||||
emit visibilityChanged (true);
|
emit visibilityChanged (true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,6 +84,7 @@ PlaylistWindow::showEvent (QShowEvent *event)
|
||||||
{
|
{
|
||||||
QSettings s;
|
QSettings s;
|
||||||
s.setValue ("playlist/visible", true);
|
s.setValue ("playlist/visible", true);
|
||||||
|
m_mw->attachWidgets ();
|
||||||
|
|
||||||
emit visibilityChanged (true);
|
emit visibilityChanged (true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue