summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
Diffstat (limited to 'muse2')
-rw-r--r--muse2/muse/app.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp
index b09e7191..84b5121c 100644
--- a/muse2/muse/app.cpp
+++ b/muse2/muse/app.cpp
@@ -2090,7 +2090,10 @@ void MusE::toplevelDeleted(TopWin* tl)
if (*i == tl) {
if (tl == activeTopWin)
- activeTopWinChangedSlot(NULL);
+ {
+ activeTopWin=NULL;
+ emit activeTopWinChanged(NULL);
+ }
if (tl == currentMenuSharingTopwin)
setCurrentMenuSharingTopwin(NULL);
@@ -3289,7 +3292,8 @@ void MusE::bringToFront(QWidget* widget)
win->raise();
}
- activeTopWinChangedSlot(win);
+ activeTopWin=win;
+ emit activeTopWinChanged(win);
}
void MusE::setFullscreen(bool val)