diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2017-03-10 19:00:16 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2017-03-10 19:25:42 +0000 |
commit | 23ef4f43fb25cf0461acb793a40332a0de50651e (patch) | |
tree | 2eb861ad64b21ecad0a4b1c33996c1f92ba8471f | |
parent | 0234876f9ac9f0c06f5f72380663a840df89a750 (diff) | |
download | qttools-23ef4f43fb25cf0461acb793a40332a0de50651e.tar.gz |
Remove uses of QString::null
It's going to be deprecated.
Change-Id: Ife600e92f4eb3ec95538b55c877e7a1f498e905c
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-rw-r--r-- | src/linguist/linguist/recentfiles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linguist/linguist/recentfiles.h b/src/linguist/linguist/recentfiles.h index 650cc35e0..bb72221de 100644 --- a/src/linguist/linguist/recentfiles.h +++ b/src/linguist/linguist/recentfiles.h @@ -46,7 +46,7 @@ public: void addFiles(const QStringList &names); QString lastOpenedFile() const { if (m_strLists.isEmpty() || m_strLists.first().isEmpty()) - return QString::null; + return QString(); return m_strLists.at(0).at(0); } const QList<QStringList>& filesLists() const { return m_strLists; } |