summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylanddisplay.cpp
diff options
context:
space:
mode:
authorPier Luigi Fiorini <pierluigi.fiorini@gmail.com>2014-08-01 08:28:20 +0200
committerPier Luigi Fiorini <pierluigi.fiorini@gmail.com>2014-08-01 14:35:56 +0200
commit560841756a71ac4caa870467d7fb1eba124e9d66 (patch)
tree54208fbb0b56c3bc4406f7a07c9ec66b9083e3a0 /src/client/qwaylanddisplay.cpp
parentfa32466916f1e0fbd2be28bd48df2d9edfcd5e5f (diff)
Resolve build warning on client code
QString::QString(const char*) is deprecated, wrap thread name with QStringLiteral. Change-Id: Ic914d05e7bee6e3f1c6aa0bede44a6b6b85be565 Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Diffstat (limited to 'src/client/qwaylanddisplay.cpp')
-rw-r--r--src/client/qwaylanddisplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylanddisplay.cpp b/src/client/qwaylanddisplay.cpp
index 2da3fa871..4fc452948 100644
--- a/src/client/qwaylanddisplay.cpp
+++ b/src/client/qwaylanddisplay.cpp
@@ -118,7 +118,7 @@ QWaylandDisplay::QWaylandDisplay(QWaylandIntegration *waylandIntegration)
mEventThreadObject = new QWaylandEventThread(0);
mEventThread = new QThread(this);
- mEventThread->setObjectName("QtWayland");
+ mEventThread->setObjectName(QStringLiteral("QtWayland"));
mEventThreadObject->moveToThread(mEventThread);
mEventThread->start();