[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Thu Aug 12 18:42:25 CEST 2004
CVS commit by arwalker:
Make sure unlocks match locks.
As an aside it is generally good policy to return only from the end of a function to avoid these kind of errors.
M +2 -0 kstplugindialog_i.cpp 1.81
--- kdeextragear-2/kst/kst/kstplugindialog_i.cpp #1.80:1.81
@@ -444,4 +444,5 @@ bool KstPluginDialogI::edit_I() {
if (_tagName->text() != DP->tagName() && KST::dataTagNameNotUnique(_tagName->text())) {
_tagName->setFocus();
+ DP->writeUnlock();
return false;
}
More information about the Kst
mailing list