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>
This commit is contained in:
Pier Luigi Fiorini 2014-08-01 08:28:20 +02:00
parent b4b6dd3a75
commit 979b1db750

View File

@ -118,7 +118,7 @@ QWaylandDisplay::QWaylandDisplay(QWaylandIntegration *waylandIntegration)
mEventThreadObject = new QWaylandEventThread(0); mEventThreadObject = new QWaylandEventThread(0);
mEventThread = new QThread(this); mEventThread = new QThread(this);
mEventThread->setObjectName("QtWayland"); mEventThread->setObjectName(QStringLiteral("QtWayland"));
mEventThreadObject->moveToThread(mEventThread); mEventThreadObject->moveToThread(mEventThread);
mEventThread->start(); mEventThread->start();