ProjectExplorer: Hide FolderNode::takeNode

Change-Id: I6cdfcdc13eea4f9fbc25402b69325476a2c7dfb2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-03-01 19:04:20 +01:00
parent 92da9d1e67
commit 44886ad65a

View File

@@ -287,7 +287,6 @@ public:
void setShowWhenEmpty(bool showWhenEmpty); void setShowWhenEmpty(bool showWhenEmpty);
void addNode(std::unique_ptr<Node> &&node); void addNode(std::unique_ptr<Node> &&node);
std::unique_ptr<Node> takeNode(Node *node);
bool isEmpty() const; bool isEmpty() const;
@@ -301,6 +300,8 @@ protected:
QList<LocationInfo> m_locations; QList<LocationInfo> m_locations;
private: private:
std::unique_ptr<Node> takeNode(Node *node);
QString m_displayName; QString m_displayName;
QString m_addFileFilter; QString m_addFileFilter;
mutable QIcon m_icon; mutable QIcon m_icon;