diff options
author | hjk <hjk@qt.io> | 2019-03-01 08:38:17 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-03-01 09:18:52 +0000 |
commit | 4e0ff112e4cb97d2179287e6bd3cb707dc64406d (patch) | |
tree | d4975fef43db69aa575042bd8f833988a22ecb10 /src/plugins/resourceeditor/resourcenode.h | |
parent | e3a7aa1ad24c78ea220112d207f452425e316a4d (diff) |
ResourceEditor: Change signature of ResourceTopLevelNode ctor
Replace the parent node by the only data item it is used for to
make it more clear that this is not about tree structure.
Also move the parameter with possible default to the last position.
Change-Id: Ibf62328dea335b5999595e5cebb36051ec84bc3a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/resourceeditor/resourcenode.h')
-rw-r--r-- | src/plugins/resourceeditor/resourcenode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/resourceeditor/resourcenode.h b/src/plugins/resourceeditor/resourcenode.h index 9d38e3c622..f732c6ae52 100644 --- a/src/plugins/resourceeditor/resourcenode.h +++ b/src/plugins/resourceeditor/resourcenode.h @@ -35,7 +35,8 @@ class RESOURCE_EXPORT ResourceTopLevelNode : public ProjectExplorer::FolderNode { public: ResourceTopLevelNode(const Utils::FileName &filePath, - const QString &contents, FolderNode *parent); + const Utils::FileName &basePath, + const QString &contents = {}); ~ResourceTopLevelNode() override; void addInternalNodes(); |