Compile
authorRoberto Raggi <roberto.raggi@nokia.com>
Thu, 21 Jul 2011 13:09:15 +0000 (15:09 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 30 Aug 2011 11:18:28 +0000 (13:18 +0200)
Change-Id: Id7a5520d0e344b708aabacd0b0aefa705b47b197
Reviewed-on: http://codereview.qt.nokia.com/3761
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/declarative/qml/qdeclarativetypeloader.cpp

index 64fb1ec..1383d64 100644 (file)
@@ -93,7 +93,7 @@ static QStringHash<bool> *qmlFilesInDirectory(const QString &path)
             files->insert(QFile::decodeName(u.d.d_name), true);
 #if defined(Q_OS_DARWIN)
         else if ((len > 6 && !strcmp(u.d.d_name+len-6, ".dylib")) || !strcmp(u.d.d_name+len-3, ".so")
-                  || (len > 7 && !strcmp(u.d.d_name+len-7, ".bundle"))
+                  || (len > 7 && !strcmp(u.d.d_name+len-7, ".bundle")))
             files->insert(QFile::decodeName(u.d.d_name), true);
 #else  // Unix
         else if (!strcmp(u.d.d_name+len-3, ".so") || !strcmp(u.d.d_name+len-3, ".sl"))