[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kcontacts] src: USe QStringLiteral
From:       Montel Laurent <montel () kde ! org>
Date:       2015-07-31 19:34:07
Message-ID: E1ZLG4F-00070l-Ic () scm ! kde ! org
[Download RAW message or body]

Git commit 7a7da080da2f03289edf1d50a551fe5095d75c24 by Montel Laurent.
Committed on 31/07/2015 at 19:33.
Pushed by mlaurent into branch 'master'.

USe QStringLiteral

M  +2    -2    src/picture.cpp

http://commits.kde.org/kcontacts/7a7da080da2f03289edf1d50a551fe5095d75c24

diff --git a/src/picture.cpp b/src/picture.cpp
index 53aa25a..17f3ed5 100644
--- a/src/picture.cpp
+++ b/src/picture.cpp
@@ -163,9 +163,9 @@ void Picture::setData(const QImage &data)
 
 // set the type, the raw data will have when accessed through Picture::rawData()
     if (!d->mData.hasAlphaChannel()) {
-        d->mType = QLatin1String("jpeg");
+        d->mType = QStringLiteral("jpeg");
     } else {
-        d->mType = QLatin1String("png");
+        d->mType = QStringLiteral("png");
     }
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic