forked from qt-creator/qt-creator
QmlDesigner.componentView: cleaning up
There was some dead code I removed. I also refactored the node removal and made it more robust. Change-Id: I3bd566011302968c1d798689fcca3b4a3880b306 Reviewed-on: http://codereview.qt.nokia.com/417 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
@@ -113,11 +113,10 @@ private: //functions
|
||||
void searchForComponentAndAddToList(const ModelNode &node);
|
||||
void searchForComponentAndRemoveFromList(const ModelNode &node);
|
||||
void appendWholeDocumentAsComponent();
|
||||
void removeSingleNodeFromList(const ModelNode &node);
|
||||
|
||||
private:
|
||||
QStringList m_componentList;
|
||||
QStandardItemModel *m_standardItemModel;
|
||||
bool m_listChanged;
|
||||
ComponentAction *m_componentAction;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user