aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@digia.com>2014-08-05 22:22:53 +0200
committerTim Jenssen <tim.jenssen@digia.com>2014-08-05 22:27:08 +0200
commit84bc03c025005783141d157f83b9e970762fb4b7 (patch)
treec7c278591a5ea9471f02b7e65fc08e13dabfb55c /share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp
parentda3a1568f877d14f46761c5ce3edd56c7b8b9c12 (diff)
QmlDesigner: fix Qt4 compile
Change-Id: Iad9bd3eaff445b9329452d89da0c641e8c8f25df Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp')
-rw-r--r--share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp b/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp
index a313b208db..eb79561f09 100644
--- a/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp
+++ b/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp
@@ -50,7 +50,7 @@
#include <private/qcore_unix_p.h>
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
-#define QStringLiteral(str) QLatin1String(str)
+#define QStringLiteral(str) QString::fromLatin1(str)
#endif
namespace QmlDesigner {