diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-12-27 16:27:25 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-12-27 16:27:25 +0100 |
commit | ab6f5290fc1582cf89257e6e5d12ec33ed428143 (patch) | |
tree | 68b5856bf7f3fdbcf5ff0ad6ec83945a8bbb60dc /lib/bookmarks/bookmarkswidget.h | |
parent | Rename TabWidget::deleteTab to TabWidget::removeTab (diff) | |
download | smolbote-ab6f5290fc1582cf89257e6e5d12ec33ed428143.tar.xz |
Bookmarks: track modified state in the model rather than the widget
Dragging and dropping bookmarks is done by the QTreeView rather than
through the BookmarksWidget, so the widget could not track modification
state correctly when items were reordered.
BUG: #9 Bookmark reordering does not persist
Diffstat (limited to 'lib/bookmarks/bookmarkswidget.h')
-rw-r--r-- | lib/bookmarks/bookmarkswidget.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bookmarks/bookmarkswidget.h b/lib/bookmarks/bookmarkswidget.h index e293f65..f30db7d 100644 --- a/lib/bookmarks/bookmarkswidget.h +++ b/lib/bookmarks/bookmarkswidget.h @@ -43,10 +43,8 @@ public slots: private: Ui::BookmarksDialog *ui; - bool m_isChanged = false; QString m_bookmarksPath; BookmarkModel *model; - }; #endif // BOOKMARKSDIALOG_H |