[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Mar 16 23:45:39 CET 2004
CVS commit by staikos:
regression suite told me something was wrong. I agree. plugin -1 is not a
good thing to try to access.
M +3 -2 kstquickcurvesdialog_i.cpp 1.30
--- kdeextragear-2/kst/kst/kstquickcurvesdialog_i.cpp #1.29:1.30
@@ -102,9 +102,10 @@ void KstQuickCurvesDialogI::update() {
KST::dataSourceList.lock().readLock();
j = KST::dataSourceList.count() - 1;
- QString u = KST::dataSourceList[j]->fileName();
- KST::dataSourceList.lock().readUnlock();
+ QString u;
if (j >= 0) {
+ u = KST::dataSourceList[j]->fileName();
FileName->setURL(u);
}
+ KST::dataSourceList.lock().readUnlock();
updateCompletion();
More information about the Kst
mailing list