summaryrefslogtreecommitdiffstats
path: root/qmake/meta.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-08-20 14:33:08 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-28 20:48:13 +0200
commit3db9344f04642108ffc7bb9dcc688d2ce7dbb9d3 (patch)
tree142137533868557a06e883cf404606941420c913 /qmake/meta.cpp
parent996bbcd78ba50d71fa3da4727e5cb87ed9efe15a (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.cpp2
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(" ");
}