Bug#2862: Patch for part of bug#2862
Steven Suson
suson at TuckerEnergy.com
Mon Apr 17 23:41:33 UTC 2000
Attached please find a patch file which corrects the problem of not
setting the SpecialValueText property within the Dialog Editor. I have
tested this fix in conjunction with KDK 1.1 on Red Hat 6.0. It should be
noted that the code was provided by Richard Dale
<Richard_Dale at tipitina.demon.co.uk>. I only implemented the fix, tested,
etc.
Steven Suson
"Keep the faith."
-------------- next part --------------
--- kdevelop/kdevelop/kdlgedit/kdlgedit.cpp.~1~ Sat Feb 26 17:30:05 2000
+++ kdevelop/kdevelop/kdlgedit/kdlgedit.cpp Mon Apr 17 12:10:48 2000
@@ -735,6 +735,7 @@
void KDlgEdit::generateQSpinBox(KDlgItem_Widget *wid, QTextStream *stream,QString _parent)
{
KDlgPropertyBase* props = wid->getProps();
+ bool withi18n = ((CKDevelop*)parent())->getProject()->isKDEProject();
props->dumpConstruct(stream, "QSpinBox", _parent);
generateCommon(wid,stream,_parent);
@@ -746,6 +747,8 @@
props->dumpIntPropCall(stream, "setValue", "Value");
props->dumpBoolPropCall(stream, "setWrapping", "isWrapping", false);
+
+ props->dumpStringPropCall(stream, "setSpecialValueText", "SpecialValText", withi18n);
*stream << "\n";
}
More information about the KDevelop-devel
mailing list