mainwindow/project: implemented saving/restoring panel state to project file

This commit is contained in:
itsmattkc
2020-04-19 02:25:02 +10:00
parent 8a26e14efa
commit d232e035f5
10 changed files with 131 additions and 20 deletions
@@ -357,7 +357,7 @@ void ProjectExplorer::set_project(Project *p)
model_.set_project(p);
}
QModelIndex ProjectExplorer::root_index() const
QModelIndex ProjectExplorer::get_root_index() const
{
return tree_view_->rootIndex();
}
+1 -1
View File
@@ -54,7 +54,7 @@ public:
Project* project() const;
void set_project(Project* p);
QModelIndex root_index() const;
QModelIndex get_root_index() const;
void set_root(Item* item);