diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-30 19:55:42 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-30 19:55:42 +0000 |
commit | b4c31bafd8aec4f42f23f6c461f48ccbe33d3bc3 (patch) | |
tree | d80952c00b17a9ff93ed05d9a2a267b16fe30b8b /x11/kdelibs3/files/patch-kdeui-kxmlguifactory.cpp | |
parent | This patch is no longer needed. (diff) |
Update to KDE 3.3
Diffstat (limited to 'x11/kdelibs3/files/patch-kdeui-kxmlguifactory.cpp')
-rw-r--r-- | x11/kdelibs3/files/patch-kdeui-kxmlguifactory.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/x11/kdelibs3/files/patch-kdeui-kxmlguifactory.cpp b/x11/kdelibs3/files/patch-kdeui-kxmlguifactory.cpp deleted file mode 100644 index a9ae71f61519..000000000000 --- a/x11/kdelibs3/files/patch-kdeui-kxmlguifactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -Index: kxmlguifactory.cpp -=================================================================== -RCS file: /home/kde/kdelibs/kdeui/kxmlguifactory.cpp,v -retrieving revision 1.149 -retrieving revision 1.151 -diff -u -3 -p -r1.149 -r1.151 ---- kxmlguifactory.cpp 19 Jun 2004 21:35:02 -0000 1.149 -+++ kdeui/kxmlguifactory.cpp 22 Jun 2004 15:56:16 -0000 1.151 -@@ -124,7 +124,14 @@ QString KXMLGUIFactory::readConfigFile( - return QString::null; - } - -+#if QT_VERSION <= 0x030302 -+ // Work around bug in QString::fromUtf8 (which calls strlen). -+ QByteArray buffer(file.size() + 1); -+ buffer = file.readAll(); -+ buffer[ buffer.size() - 1 ] = '\0'; -+#else - QByteArray buffer(file.readAll()); -+#endif - return QString::fromUtf8(buffer.data(), buffer.size()); - } - |