Check QMLType when adding new QML files to project to prevent error message being shown

Change-Id: I68df3c69b535d47109bfb94c3089fd78e8b3683d
Reviewed-on: http://codereview.qt.nokia.com/514
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Aurindam Jana
2011-06-20 16:10:42 +02:00
parent 7c90a35131
commit 8668fb776f
4 changed files with 5 additions and 1 deletions

View File

@@ -213,7 +213,7 @@ QString FileFilterBaseItem::absoluteDir() const
absoluteDir = m_defaultDir + QLatin1Char('/') + m_rootDir;
}
return absoluteDir;
return QDir::cleanPath(absoluteDir);
}
void FileFilterBaseItem::updateFileList()