mainwindow/project: implemented saving/restoring panel state to project file
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user