diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-08-20 14:33:08 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-28 20:48:13 +0200 |
commit | 3db9344f04642108ffc7bb9dcc688d2ce7dbb9d3 (patch) | |
tree | 142137533868557a06e883cf404606941420c913 /qmake/meta.cpp | |
parent | 996bbcd78ba50d71fa3da4727e5cb87ed9efe15a (diff) |
beautify string operations
Change-Id: I895a1ae26ee0c884c404bf585261d1a7e8a8242c
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'qmake/meta.cpp')
-rw-r--r-- | qmake/meta.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/meta.cpp b/qmake/meta.cpp index 5577dedabe..3ec3f8357b 100644 --- a/qmake/meta.cpp +++ b/qmake/meta.cpp @@ -176,7 +176,7 @@ QMakeMetaInfo::readLibtoolFile(const QString &f) } else if(it.key() == "dependency_libs") { if(lst.count() == 1) { QString dep = lst.first(); - if((dep.startsWith("'") || dep.startsWith("\"")) && dep.endsWith(QString(dep[0]))) + if ((dep.startsWith('\'') || dep.startsWith('"')) && dep.endsWith(dep.at(0))) dep = dep.mid(1, dep.length() - 2); lst = dep.trimmed().split(" "); } |