Fix deprecation warnings about constructing QString from const char*.
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Mon, 16 Feb 2015 12:08:40 +0000 (13:08 +0100)
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Mon, 23 Feb 2015 19:49:00 +0000 (19:49 +0000)
commitcb0243d5078dcd9cebb2ce89621e4912ff57cebf
tree2a1dab22261f7df0fea54f57228e79d27044ca50
parent4d417c7fbf8b9e00e260951e29cba16072272cc5
Fix deprecation warnings about constructing QString from const char*.

types/qqmlmodelindexvaluetype.cpp: In static member function 'static QString QQmlModelIndexValueType::propertiesString(const QModelIndex&)':
types/qqmlmodelindexvaluetype.cpp:47:56: warning: 'QString::QString(const char*)' is deprecated (declared at qstring.h:649) [-Wdeprecated-declarations]
items/qquickimagebase.cpp: In member function 'virtual void QQuickImageBase::load()':
items/qquickimagebase.cpp:213:49: warning: 'QString::QString(const char*)' is deprecated (declared at qstring.h:649) [-Wdeprecated-declarations]
items/qquickimagebase.cpp:213:88: warning: 'QString::QString(const char*)' is deprecated (declared at qstring.h:649) [-Wdeprecated-declarations]

Change-Id: I03266aba589ade8228bc286cd3f3f237cd06a780
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
src/qml/types/qqmlmodelindexvaluetype.cpp
src/quick/items/qquickimagebase.cpp