summaryrefslogtreecommitdiff
path: root/plugins/autotest/testtreemodel.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-09-10 15:03:36 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-10-08 13:35:23 +0300
commit9a193f7a4c6d3a5a0a2b4174f31a581f9a15aea0 (patch)
tree6d6f7c9896b57a52bff6701997bec37150c31ff0 /plugins/autotest/testtreemodel.cpp
parent475d6b3af29a1e84baf23021aa7a68e8c0b49c13 (diff)
downloadqt-creator-9a193f7a4c6d3a5a0a2b4174f31a581f9a15aea0.tar.gz
Remove unused code
Change-Id: I12eb0ea78355e651fc4d904171dcdf49907b35b5 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/testtreemodel.cpp')
-rw-r--r--plugins/autotest/testtreemodel.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/plugins/autotest/testtreemodel.cpp b/plugins/autotest/testtreemodel.cpp
index e6ff3a2b74..e18cb437ca 100644
--- a/plugins/autotest/testtreemodel.cpp
+++ b/plugins/autotest/testtreemodel.cpp
@@ -521,21 +521,6 @@ QList<QString> TestTreeModel::getUnnamedQuickTestFunctions() const
return QList<QString>();
}
-QSet<QString> TestTreeModel::qmlFilesForProFile(const QString &proFile) const
-{
- QSet<QString> filePaths;
- CppTools::CppModelManager *modelManager = CppTools::CppModelManager::instance();
- if (TestTreeItem *unnamed = unnamedQuickTests()) {
- for (int i = 0; i < unnamed->childCount(); ++i) {
- const TestTreeItem *child = unnamed->child(i);
- QList<CppTools::ProjectPart::Ptr> ppList = modelManager->projectPart(child->mainFile());
- if (ppList.size() && ppList.at(0)->projectFile == proFile)
- filePaths.insert(child->filePath());
- }
- }
- return filePaths;
-}
-
bool TestTreeModel::hasUnnamedQuickTests() const
{
for (int row = 0, count = m_quickTestRootItem->childCount(); row < count; ++row)