Skip to content
Snippets Groups Projects
Commit 27438c14 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm rootIndex

parent c5a9b366
No related branches found
No related tags found
1 merge request!2420mask item owned by detector instead of data
...@@ -36,8 +36,6 @@ public: ...@@ -36,8 +36,6 @@ public:
void writeTo(QXmlStreamWriter* w) const; void writeTo(QXmlStreamWriter* w) const;
void readFrom(QXmlStreamReader* r); void readFrom(QXmlStreamReader* r);
const QModelIndex rootIndex;
void add_item(MaskItem* t) { push_back(t); } void add_item(MaskItem* t) { push_back(t); }
signals: signals:
......
...@@ -87,7 +87,6 @@ void MasksPanel::updateMasksPanel(MasksQModel* masks_qmodel) ...@@ -87,7 +87,6 @@ void MasksPanel::updateMasksPanel(MasksQModel* masks_qmodel)
m_qlistview->setModel(m_qlistmodel); m_qlistview->setModel(m_qlistmodel);
m_qlistview->setSelectionMode(QAbstractItemView::ExtendedSelection); m_qlistview->setSelectionMode(QAbstractItemView::ExtendedSelection);
m_qlistview->setRootIndex(m_qlistmodel->set()->rootIndex);
} }
//! Private function, called by different functions. //! Private function, called by different functions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment