[Kst] branches/work/kst/1.1/kst/kst

George Staikos staikos at kde.org
Mon Sep 12 17:58:49 CEST 2005


SVN commit 459974 by staikos:

backport crash fix for inconsistent kst files


 M  +2 -2      kstplugindialog_i.cpp  


--- branches/work/kst/1.1/kst/kst/kstplugindialog_i.cpp #459973:459974
@@ -157,8 +157,8 @@
 
 
 void KstPluginDialogI::_fillFieldsForEdit() {
-  if (DP == 0L) {
-    return; // shouldn't be needed
+  if (!DP || !DP->plugin()) {
+    return;
   }
   DP->readLock();
   _tagName->setText(DP->tagName());


More information about the Kst mailing list