Permalink
Browse files

mdiwindow: initialized to Preferred size policy

  • Loading branch information...
1 parent 62b9b84 commit 7530c62f600944b9066861353b54f6cc422f3c55 Dongxu Li committed Jan 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 librecad/src/main/qc_mdiwindow.cpp
@@ -68,7 +68,7 @@ QC_MDIWindow::QC_MDIWindow(RS_Document* doc,
id = idCounter++;
//childWindows.setAutoDelete(false);
parentWindow = NULL;
-
+ setSizePolicy(QSizePolicy::Preferred,QSizePolicy::Preferred);
if (document!=NULL) {
if (document->getLayerList()!=NULL) {
// Link the graphic view to the layer widget

0 comments on commit 7530c62

Please sign in to comment.