diff options
author | hjk <hjk@qt.io> | 2017-01-26 11:58:57 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-01-26 15:24:57 +0000 |
commit | beaba559a5d7439fbd4f171cf1d25bfc69bec6c7 (patch) | |
tree | 4c1427dc0613cbe0398c54607192caec422d25ab /src/plugins/resourceeditor | |
parent | cd70da5dcd87b04ebc79d09b96aad3c4148c9367 (diff) | |
download | qt-creator-beaba559a5d7439fbd4f171cf1d25bfc69bec6c7.tar.gz |
ProjectExplorer: Slim down user side ProjectNode handling
Change-Id: If727ff6cd09cc127e031c49c47f61ffda631a80e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/resourceeditor')
-rw-r--r-- | src/plugins/resourceeditor/resourcenode.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/resourceeditor/resourcenode.cpp b/src/plugins/resourceeditor/resourcenode.cpp index 7603dd6d41..58500fab59 100644 --- a/src/plugins/resourceeditor/resourcenode.cpp +++ b/src/plugins/resourceeditor/resourcenode.cpp @@ -91,18 +91,6 @@ static bool addFilesToResource(const Utils::FileName &resourceFile, return true; } -static bool sortByPrefixAndLang(ProjectExplorer::FolderNode *a, ProjectExplorer::FolderNode *b) -{ - ResourceFolderNode *aa = static_cast<ResourceFolderNode *>(a); - ResourceFolderNode *bb = static_cast<ResourceFolderNode *>(b); - - if (aa->prefix() < bb->prefix()) - return true; - if (bb->prefix() < aa->prefix()) - return false; - return aa->lang() < bb->lang(); -} - ResourceTopLevelNode::ResourceTopLevelNode( const Utils::FileName &filePath, const QString &contents, ProjectExplorer::FolderNode *parent) |