summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-08-25 15:53:17 +0000
committerFlorian Jung <flo@windfisch.org>2011-08-25 15:53:17 +0000
commit85f8f8df491a0e560400e5db97f86e4b1aeb8300 (patch)
tree87611e391554fb8c5d50c7ea4bc4f69dd47e4f29
parent944f38cbb3f7f8f516b78b5b0e27770a74cda446 (diff)
fixed subwin positioning
-rw-r--r--muse2/muse/cobject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/muse2/muse/cobject.cpp b/muse2/muse/cobject.cpp
index e25cefdb..339ebc9d 100644
--- a/muse2/muse/cobject.cpp
+++ b/muse2/muse/cobject.cpp
@@ -196,6 +196,7 @@ void TopWin::setIsMdiWin(bool val)
QMdiSubWindow* subwin = createMdiWrapper();
muse->addMdiSubWindow(subwin);
subwin->resize(width_temp, height_temp);
+ subwin->move(0,0);
subwin->setVisible(vis);
this->QMainWindow::show(); //bypass the delegation to the subwin