From kde-commits Sat Apr 16 13:24:55 2005 From: Christoph Cullmann Date: Sat, 16 Apr 2005 13:24:55 +0000 To: kde-commits Subject: kdelibs/kdeui Message-Id: <20050416132455.3683D3CA () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111365790830218 CVS commit by cullmann: don'T move around mainwindows, this looks ugly and kills any placement of kwin CCMAIL:kmdi-devel@kde.org there is still one place where the mainwindows get temporary moved around, just open kate or kdevelop, there still is some little flicker M +6 -1 kdockwidget.cpp 1.177 --- kdelibs/kdeui/kdockwidget.cpp #1.176:1.177 @@ -2853,7 +2853,12 @@ void KDockManager::readConfig( KConfig* c->setGroup( group ); + QRect mr = c->readRectEntry("Main:Geometry"); + + if (!main->inherits("KDockMainWindow")) main->move(mr.topLeft()); + main->resize(mr.size()); + if ( isMainVisible ) main->show(); }