summaryrefslogtreecommitdiffstats
path: root/qmake/meta.cpp
diff options
context:
space:
mode:
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(" ");
}