Bug#1706: Another problem in kdevelop->kdlgedit

Stefan Heidrich sheidric at rz.uni-potsdam.de
Tue Aug 10 15:23:15 UTC 1999


On Tue, 10 Aug 1999, Juergen Vigna wrote:
>>Hi again!
>
>Another error in producing QString items of a QListBox the
>" are omited in producing the entries so a compile-error happens
>with the generated code!
>
>Here is a small diff -u to fix this bug :)
>
>Thanks for your program!
>
>Ciao Jürgen
>
>P.S.: I also append the same diff as file as there may be a tabs
>      problem ;)
>
>-------------------------- begin diff ----------------------------------
>--- kdlgedit.cpp.orig   Tue Jul 27 22:54:17 1999
>+++ kdlgedit.cpp        Tue Aug 10 10:46:11 1999
>@@ -840,6 +840,8 @@
>            QString s = getLineOutOfString(src,i,"\\n");
>            while (!s.isNull())
>                {
>+                   s += "\"";
>+                   s = "\"" + s;
>                    props->dumpPropCall(stream, "insertItem", s);
>                    i++;
>                    s = getLineOutOfString(src,i,"\\n");
>@@ -891,6 +893,8 @@
>            QString s = getLineOutOfString(src,i,"\\n");
>            while (!s.isNull())
>                {
>+                   s += "\"";
>+                   s = "\"" + s;
>                    props->dumpPropCall(stream, "insertItem", s);
>                    i++;
>                    s = getLineOutOfString(src,i,"\\n");
>-------------------------- end diff   ----------------------------------
>
Hi Jürgen,

This was already fixed.

Bye,
	Stefan 



More information about the KDevelop-devel mailing list