[Kst] extragear/graphics/kst/kst

Rick Chern rchern at interchange.ubc.ca
Mon Jun 6 18:31:42 CEST 2005


SVN commit 422833 by rchern:

Fix accidental changes from 417848

 M  +2 -3      kstplugindialog_i.cpp  


--- trunk/extragear/graphics/kst/kst/kstplugindialog_i.cpp #422832:422833
@@ -300,8 +300,8 @@
 
 
 void KstPluginDialogI::fixupLayout() {
-  _frameWidget->resize(_frameWidget->sizeHint());
-  _pluginFrame->resize(_pluginFrame->sizeHint());
+  _frameWidget->updateGeometry();
+  _pluginFrame->updateGeometry();
   resize(sizeHint());
   setMinimumSize(size());
   updateGeometry();
@@ -805,7 +805,6 @@
   // Create a new one
   QGridLayout *topGrid = dynamic_cast<QGridLayout*>(_pluginFrame->layout());
   if (topGrid) {
-    topGrid->invalidate();
     topGrid->addWidget(_frameWidget = new QWidget(_pluginFrame, "Frame Widget"), 0, 0);
   } else {
     kdError() << "Somehow we lost the grid!" << endl;


More information about the Kst mailing list