aboutsummaryrefslogtreecommitdiff
path: root/databases/knoda/files/patch-hk_kdeclasses::hk_kdedbdesigner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'databases/knoda/files/patch-hk_kdeclasses::hk_kdedbdesigner.cpp')
-rw-r--r--databases/knoda/files/patch-hk_kdeclasses::hk_kdedbdesigner.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/knoda/files/patch-hk_kdeclasses::hk_kdedbdesigner.cpp b/databases/knoda/files/patch-hk_kdeclasses::hk_kdedbdesigner.cpp
new file mode 100644
index 000000000000..9d268630d6a1
--- /dev/null
+++ b/databases/knoda/files/patch-hk_kdeclasses::hk_kdedbdesigner.cpp
@@ -0,0 +1,11 @@
+--- hk_kdeclasses/hk_kdedbdesigner.cpp.orig Thu Jul 15 22:18:12 2004
++++ hk_kdeclasses/hk_kdedbdesigner.cpp Thu Jul 15 22:21:24 2004
+@@ -238,7 +238,7 @@
+ QString n;
+ //cerr <<"drag wert="<<index(itemAt(event->pos()))<<endl;
+ n.setNum(p_datasourceframe->datasource()->presentationnumber());
+- n="<VUPN>"+n+"</VUPN>\n<VALUE>"+( itemAt(event->pos())?itemAt(event->pos())->text():"") +"</VALUE>\n";
++ n="<VUPN>"+n+"</VUPN>\n<VALUE>"+( itemAt(event->pos())?itemAt(event->pos())->text():static_cast<QString>("")) +"</VALUE>\n";
+ //cerr<<"dragwert"<<n<<endl;
+ QCString cstr =n.utf8();
+ //cerr<"cstr"<<cstr<<endl;