From: asl Date: Tue, 7 Nov 2017 12:14:28 +0000 (+0300) Subject: refs #1369: default position for overview X-Git-Tag: v2.1~60 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=364905711c737428058543f851666ec80969a2e5;p=modules%2Fhydro.git refs #1369: default position for overview --- diff --git a/src/HYDROGUI/HYDROGUI_Module.cxx b/src/HYDROGUI/HYDROGUI_Module.cxx index 57f0f934..ce1b7783 100644 --- a/src/HYDROGUI/HYDROGUI_Module.cxx +++ b/src/HYDROGUI/HYDROGUI_Module.cxx @@ -314,8 +314,8 @@ void HYDROGUI_Module::windows( QMap& theMap ) const { const_cast( this )->myOverview = new HYDROGUI_Overview( tr( "OVERVIEW" ), 0, app->desktop() ); - myOverview->setGeometry( 0, 0, 320, 240 ); app->insertDockWindow( OverviewWindow, myOverview ); + app->placeDockWindow( OverviewWindow, Qt::LeftDockWidgetArea ); } inWindows = false; }