diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-02-06 15:09:45 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-03-19 16:30:40 +0000 |
commit | aea692f6ab9b22dabfeb8aadadc533ec9b95888b (patch) | |
tree | d8dede8d5152222b31388c2da7140b365ef56afa /src/lib/corelib/tools/error.cpp | |
parent | b2adf96ad714a87895ebc2c975dfd262c87f4eb6 (diff) |
remove Qt4 work-arounds
QStringList::join supports QLatin1Char arguments in Qt5.
Change-Id: Ic840473f0cb54c8c2a781bec3356c3c3c8e113af
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/tools/error.cpp')
-rw-r--r-- | src/lib/corelib/tools/error.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/tools/error.cpp b/src/lib/corelib/tools/error.cpp index 8c10e0a96..d114fda7c 100644 --- a/src/lib/corelib/tools/error.cpp +++ b/src/lib/corelib/tools/error.cpp @@ -183,7 +183,7 @@ QString ErrorInfo::toString() const QStringList lines; foreach (const ErrorItem &e, d->items) lines.append(e.toString()); - return lines.join(QLatin1String("\n")); + return lines.join(QLatin1Char('\n')); } /*! |