mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-21 03:21:43 -06:00
Get rid of the resetBrowser() method
This hopefully helps to simplify and restructure the code. If it turns out to make things only worse we can undo it. This *should* make no changes for the user.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <QAbstractItemModel>
|
||||
|
||||
class DBBrowserDB;
|
||||
class DBBrowserObject;
|
||||
class QTreeWidgetItem;
|
||||
|
||||
class DbStructureModel : public QAbstractItemModel
|
||||
@@ -31,6 +32,8 @@ public:
|
||||
private:
|
||||
QTreeWidgetItem* rootItem;
|
||||
DBBrowserDB* m_db;
|
||||
|
||||
QTreeWidgetItem* addNode(QTreeWidgetItem* parent, const DBBrowserObject& object);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user