[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Feb 11 19:34:31 CET 2004


CVS commit by staikos: 

more unfortunate problems due to the event loop being re-entered
-> possible workaround would be to disable the update timer during file loads,
   but file opening is asynchronous too!


  M +3 -1      kstplugin.cpp   1.44


--- kdeextragear-2/kst/kst/kstplugin.cpp  #1.43:1.44
@@ -84,5 +84,7 @@ KstPlugin::KstPlugin(QDomElement &e) : K
 
   if (!_plugin.data()) {
-    KMessageBox::sorry(0L, i18n("Unable to load plugin %1 for \"%2\".").arg(pluginName).arg(tagName()));
+    kdWarning() << i18n("Unable to load plugin %1 for \"%2\".").arg(pluginName).arg(tagName()) << endl;
+    // can cause nasty crashes
+    //KMessageBox::sorry(0L, i18n("Unable to load plugin %1 for \"%2\".").arg(pluginName).arg(tagName()));
   } else {
     countScalarsAndVectors(_plugin->data()._inputs, _inScalarCnt, _inArrayCnt);





More information about the Kst mailing list