kdelibs/kdeui

Christoph Cullmann cullmann at kde.org
Sat Apr 16 15:24:55 CEST 2005


CVS commit by cullmann: 

don'T move around mainwindows, this looks ugly and kills any placement of kwin
CCMAIL:kmdi-devel at 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();
 }




More information about the Kmdi-devel mailing list