[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Mon Feb 16 15:22:28 CET 2004


CVS commit by staikos: 

disable the view scalars dialog for now - QTable is way too expensive and
delays startup time quite a bit.  Let's come up with a different solution.


  M +6 -2      kst.cpp   1.75


--- kdeextragear-2/kst/kst/kst.cpp  #1.74:1.75
@@ -88,5 +88,5 @@ KstApp::KstApp(QWidget *parent, const ch
   dataManager = new KstDataManagerI(doc, this);
   filterListEditor = new FilterListEditor(this);
-  viewScalarsDialog = new KstViewScalarsDialogI(this);
+  //viewScalarsDialog = new KstViewScalarsDialogI(this);
   changeFileDialog = new KstChangeFileDialogI(this);
   changeNptsDialog = new KstChangeNptsDialogI(this);
@@ -367,4 +367,5 @@ void KstApp::initActions() {
 
   /************/
+#if 0
   ViewScalarsDialogAction = new KAction(i18n("View &Scalars"),
                                        0, 0, this,
@@ -374,4 +375,5 @@ void KstApp::initActions() {
   ViewScalarsDialogAction->setWhatsThis(i18n("Bring up a dialog box\n"
                                             "to view scalar values."));
+#endif
   
   /************/
@@ -835,5 +837,5 @@ void KstApp::showDataManager() {
 
 void KstApp::showViewScalarsDialog() {
-  viewScalarsDialog->showViewScalarsDialog();
+  //viewScalarsDialog->showViewScalarsDialog();
 }
 
@@ -892,7 +894,9 @@ void KstApp::updateDialogs() {
   dataManager->update();
   filterListEditor->update();
+#if 0
   if (!viewScalarsDialog->isHidden()) {
     viewScalarsDialog->updateViewScalarsDialog();
   }
+#endif
   vectorSaveDialog->init();
   view->update();





More information about the Kst mailing list