aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlloggingcategory.cpp
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-10-17 16:06:46 +0300
committerAnton Kudryavtsev <antkudr@mail.ru>2016-11-30 06:07:03 +0000
commit7723734f7a5888d1e618e9d881a465f5d88315fa (patch)
tree3085f85dede27837f62d7acb007f145ceb0465e8 /src/qml/qml/qqmlloggingcategory.cpp
parent0cab78f2b208ba1a14802c7c7e5737feea0aa0cd (diff)
QQmlLoggingCategory: drop reduntant QString ctor
QQmlInfo::operator<< already has QL1S overload. Change-Id: I959fdf58cfbdc4aba99d7da0545f69947534a8d0 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlloggingcategory.cpp')
-rw-r--r--src/qml/qml/qqmlloggingcategory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlloggingcategory.cpp b/src/qml/qml/qqmlloggingcategory.cpp
index fd8fb477c7..70e59db07b 100644
--- a/src/qml/qml/qqmlloggingcategory.cpp
+++ b/src/qml/qml/qqmlloggingcategory.cpp
@@ -112,13 +112,13 @@ void QQmlLoggingCategory::componentComplete()
{
m_initialized = true;
if (m_name.isNull())
- qmlInfo(this) << QString(QLatin1String("Declaring the name of the LoggingCategory is mandatory and cannot be changed later !"));
+ qmlInfo(this) << QLatin1String("Declaring the name of the LoggingCategory is mandatory and cannot be changed later !");
}
void QQmlLoggingCategory::setName(const QString &name)
{
if (m_initialized) {
- qmlInfo(this) << QString(QLatin1String("The name of a LoggingCategory cannot be changed after the Item is created"));
+ qmlInfo(this) << QLatin1String("The name of a LoggingCategory cannot be changed after the Item is created");
return;
}