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

@@ -1187,6 +1187,7 @@ QStringList Qt4PriFileNode::varNames(ProjectExplorer::FileType type)
vars << QLatin1String("SUBDIRS");
break;
case ProjectExplorer::QMLType:
vars << QLatin1String("OTHER_FILES");
break;
default:
vars << QLatin1String("OTHER_FILES");