diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-08-04 08:48:18 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-08-04 08:48:18 (GMT) |
commit | c58ad73ee53374a96dc67b8bf554f14cf718be2a (patch) | |
tree | ccc89d3a22c1554877dc39a29c1e13a8d5c99e2b /qmake/project.cpp | |
parent | 95812dd991bdcc63c9a4c10d4cf32811aa0c413b (diff) | |
download | Qt-c58ad73ee53374a96dc67b8bf554f14cf718be2a.zip Qt-c58ad73ee53374a96dc67b8bf554f14cf718be2a.tar.gz Qt-c58ad73ee53374a96dc67b8bf554f14cf718be2a.tar.bz2 |
Whitespace, comment, and dead code cleanup for qmake
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r-- | qmake/project.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 0a5e9a3..7c7044c 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -3339,26 +3339,24 @@ QStringList &QMakeProject::values(const QString &_var, QMap<QString, QStringList // UIDs starting with 0xE are test UIDs in symbian -QString generate_test_uid(const QString& target) { +QString generate_test_uid(const QString& target) +{ QString tmp = generate_uid(target); tmp.replace(0,1,"E"); tmp.prepend("0x"); - // printf("generate_test_uid for %s is %s \n", qPrintable(target), qPrintable(tmp)); - return tmp; } // UIDs starting with 0xE are test UIDs in symbian -QString generate_uid(const QString& target) { - +QString generate_uid(const QString& target) +{ static QMap<QString, QString> targetToUid; QString tmp = targetToUid[target]; if(!tmp.isEmpty()) { - // printf("generate_uid for %s is %s \n", qPrintable(target), qPrintable(tmp)); return tmp; } |