Bug #2862
Steven Suson
suson at TuckerEnergy.com
Thu May 4 18:25:35 BST 2000
I was disappointed to learn that the patch that I had provided for
kdlgedit.cpp on 17-Apr-2000, which fixes part of the above referenced
bug (QSpinBox specialValueText), was not included in KDevelop 1.2.
Therefore, I am attaching the patch again (which still applies cleanly).
Considering the timing, I suppose it could've failed to make it under a
code-freeze wire...
Steven Suson
"Keep the faith."
P.S. Please don't misinterpret my attitude. Seeing the ANNOUNCE for KDK
1.2 absolutely made my day! Woo hoo!
-------------- 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
mailing list