diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2011-07-25 20:08:21 (GMT) |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@nokia.com> | 2011-07-26 08:53:55 (GMT) |
commit | 4fe2205d2fe1e8eaf3d4122c74a29862b5d04bfe (patch) | |
tree | 195611cba9d2d6357478226ddd465f52b4f53347 /tools | |
parent | 60cb54825f272547071d516ff8bd2d451b211147 (diff) | |
download | Qt-4fe2205d2fe1e8eaf3d4122c74a29862b5d04bfe.zip Qt-4fe2205d2fe1e8eaf3d4122c74a29862b5d04bfe.tar.gz Qt-4fe2205d2fe1e8eaf3d4122c74a29862b5d04bfe.tar.bz2 |
Fix QString compares to ""
Do not compare a QString to "". Instead use the .isEmpty() method.
Change-Id: I91ca870c6cd20a72e98f7c782c3f7e4947760ef9
Reviewed-by: Rohan McGovern
Diffstat (limited to 'tools')
-rw-r--r-- | tools/macdeployqt/shared/shared.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/macdeployqt/shared/shared.cpp b/tools/macdeployqt/shared/shared.cpp index c411683..d2ceedd 100644 --- a/tools/macdeployqt/shared/shared.cpp +++ b/tools/macdeployqt/shared/shared.cpp @@ -126,7 +126,7 @@ FrameworkInfo parseOtoolLibraryLine(const QString &line, bool useDebugLibs) while (part < parts.count()) { const QString currentPart = parts.at(part).simplified() ; ++part; - if (currentPart == "") + if (currentPart.isEmpty()) continue; if (state == QtPath) { |