summaryrefslogtreecommitdiff
path: root/src/plugins/modeleditor/componentviewcontroller.cpp
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2017-02-01 09:48:58 +0100
committerDavid Schulz <david.schulz@qt.io>2017-02-02 14:46:13 +0000
commite2e78c6a5d1e12f08204f07ca095f5d49ac59360 (patch)
tree9c713079d0a9d095edbacd7d4e7ad8f84acee817 /src/plugins/modeleditor/componentviewcontroller.cpp
parent6bf8f85b33ac3a3228f907f227d47e0fc54b614f (diff)
downloadqt-creator-e2e78c6a5d1e12f08204f07ca095f5d49ac59360.tar.gz
CppTools: Distinguish between ProjectFile::{unclassified,unsupported}
There was no way to determine whether ProjectFile::classify() was run or not. Now, ProjectFile::classify() returns ProjectFile::Unsupported instead of ProjectFile::Unclassified. Change-Id: I660d0e42044bdefcac38058c6f4a3425983a6d93 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/modeleditor/componentviewcontroller.cpp')
-rw-r--r--src/plugins/modeleditor/componentviewcontroller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/modeleditor/componentviewcontroller.cpp b/src/plugins/modeleditor/componentviewcontroller.cpp
index ea9a8d9b2b..86e9df81b7 100644
--- a/src/plugins/modeleditor/componentviewcontroller.cpp
+++ b/src/plugins/modeleditor/componentviewcontroller.cpp
@@ -399,6 +399,7 @@ void ComponentViewController::createComponentModel(const ProjectExplorer::Folder
isSource = true;
break;
case CppTools::ProjectFile::Unclassified:
+ case CppTools::ProjectFile::Unsupported:
isSource = false;
break;
}