aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime/files/patch-kpager-windowdrag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase4-runtime/files/patch-kpager-windowdrag.cpp')
-rw-r--r--x11/kdebase4-runtime/files/patch-kpager-windowdrag.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/kdebase4-runtime/files/patch-kpager-windowdrag.cpp b/x11/kdebase4-runtime/files/patch-kpager-windowdrag.cpp
new file mode 100644
index 000000000000..c09bb7c8f3af
--- /dev/null
+++ b/x11/kdebase4-runtime/files/patch-kpager-windowdrag.cpp
@@ -0,0 +1,11 @@
+--- kpager/windowdrag.cpp 2006/05/23 12:51:36 544025
++++ kpager/windowdrag.cpp 2006/06/05 19:55:59 548525
+@@ -31,7 +31,7 @@
+ QString tmp;
+ tmp.sprintf("%d %d %d %d", static_cast<int>(w), deltax, deltay, origdesk);
+ QByteArray data(tmp.length()+1);
+- data.assign(tmp.latin1(),tmp.length()+1);
++ data.duplicate(tmp.latin1(),tmp.length()+1);
+
+ setEncodedData(data);
+ }