removed code that interfered with the default window size on Linux (Fixes #2568)

c++11
Marc Zinnschlag 10 years ago
parent d7cd4203ad
commit 88d5aed62d

@ -404,11 +404,7 @@ CSVDoc::View::View (ViewManager& viewManager, CSMDoc::Document *document, int to
width = std::max(width, 300);
height = std::max(height, 300);
// trick to get the window decorations and their sizes
show();
hide();
resize (width - (frameGeometry().width() - geometry().width()),
height - (frameGeometry().height() - geometry().height()));
resize (width, height);
mSubViewWindow.setDockOptions (QMainWindow::AllowNestedDocks);

Loading…
Cancel
Save