Bug#1706: QFont generated wrong by dlg [15:39,09.08.99]

Juergen Vigna jug at sad.it
Mon Aug 9 13:43:58 UTC 1999


Package: kdevelop
Version: 1.0beta1
Severity: normal

Bugreport ID : 15:39,09.08.99

Originator	: Jürgen Vigna
E-Mail	: jug at sad.it

Subject : QFont generated wrong by dlg

Error Class	: software bug
Error Location: dialog editor
Priority	: high
Bug Description ---------------------------

The QFont code is outputed wrong when using "bold"
option. I give a patch for this in the bugfix entry of this
dialog :)

Hope this helps! REALLY GREAT PROGRAMM!

Thanks and ciao,

       Jürgen


How to repeat the error -------------------



Bugfix or Workaround ----------------------

--- kdlgpropertybase.cpp.old    Mon Aug  9 15:38:53 1999
+++ kdlgpropertybase.cpp        Mon Aug  9 15:30:42 1999
@@ -170,7 +170,7 @@
            contents += ", ";
            contents += QString().setNum(font.weight());
            if(font.italic())
-           contents += "true)";
+                contents += ",true";
            contents += ")";
            dumpPropCall(stream, methname, contents);
        }


System Information ------------------------

KDevelop version	: 1.0beta1
KDE version		: 1.1.1
QT version		: 1.44
OS/Distribution	: RedHat 6.0
Compiler		: egcs




More information about the KDevelop-devel mailing list