[Kst] extragear/graphics/kst/kst
Laurent Montel
montel at kde.org
Fri Aug 19 11:32:37 CEST 2005
SVN commit 450846 by mlaurent:
Fix potential mem leak
M +2 -0 kstfilterdialog_i.cpp
M +2 -0 kstplugindialog_i.cpp
--- trunk/extragear/graphics/kst/kst/kstfilterdialog_i.cpp #450845:450846
@@ -383,6 +383,7 @@
w->allowDirectEntry(true);
if (p) {
p->readLock();
+ QToolTip::remove(w->_scalar);
QToolTip::add(w->_scalar, QString::number(p->value()));
p->readUnlock();
}
@@ -399,6 +400,7 @@
w->allowDirectEntry(true);
if (p) {
p->readLock();
+ QToolTip::remove(w->_string);
QToolTip::add(w->_string, p->value());
p->readUnlock();
}
--- trunk/extragear/graphics/kst/kst/kstplugindialog_i.cpp #450845:450846
@@ -750,6 +750,7 @@
w->allowDirectEntry(true);
if (p) {
p->readLock();
+ QToolTip::remove(w->_scalar);
QToolTip::add(w->_scalar, QString::number(p->value()));
p->readUnlock();
}
@@ -766,6 +767,7 @@
w->allowDirectEntry(true);
if (p) {
p->readLock();
+ QToolTip::remove(w->_string);
QToolTip::add(w->_string, p->value());
p->readUnlock();
}
More information about the Kst
mailing list