diff options
author | Florian Jung <flo@windfisch.org> | 2011-09-14 17:00:09 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-09-14 17:00:09 +0000 |
commit | 187665d84e56b63f569731550c652a89cb650309 (patch) | |
tree | e6e346fe682e153c5542d1654ba62b35b9e1dd23 /muse2/muse/app.cpp | |
parent | a5555e41a4ba5ef5c2d38af29ed8a1d22831998f (diff) |
- provided sane configuration defaults
- updated templates
- windows->tile/arrange in rows/columns doesn't maximize a window if it's
the only one
- removed "bool initalizing stuff"
- small fixes for focusing and toolbar-sharing
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r-- | muse2/muse/app.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp index de35e5bc..773e550f 100644 --- a/muse2/muse/app.cpp +++ b/muse2/muse/app.cpp @@ -1329,7 +1329,10 @@ void MusE::loadProjectFile1(const QString& name, bool songTemplate, bool loadAll } if (maximizeArranger) + { arrangerView->showMaximized(); + bringToFront(arrangerView); + } } } @@ -3282,6 +3285,8 @@ void MusE::bringToFront(QWidget* widget) win->activateWindow(); win->raise(); } + + activeTopWinChangedSlot(win); } void MusE::setFullscreen(bool val) @@ -3321,8 +3326,8 @@ void MusE::arrangeSubWindowsColumns() if (n==0) return; - else if (n==1) - (*wins.begin())->showMaximized(); + //else if (n==1) + // (*wins.begin())->showMaximized(); // commented out by flo. i like it better that way. else { int width = mdiArea->width(); @@ -3356,8 +3361,8 @@ void MusE::arrangeSubWindowsRows() if (n==0) return; - else if (n==1) - (*wins.begin())->showMaximized(); + //else if (n==1) + // (*wins.begin())->showMaximized(); // commented out by flo. i like it better that way. else { int width = mdiArea->width(); @@ -3391,8 +3396,8 @@ void MusE::tileSubWindows() if (n==0) return; - else if (n==1) - (*wins.begin())->showMaximized(); + //else if (n==1) + // (*wins.begin())->showMaximized(); // commented out by flo. i like it better that way. else { int nx,ny; |