diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-02-07 12:42:38 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-02-07 12:42:38 +0100 |
commit | f59e1e7a57e5b79858997aab317b15f556ff1d62 (patch) | |
tree | 0bf93844112471bca22728741653a237d6435fb9 /lib/bookmarks/bookmarkitem.h | |
parent | Bookmarks drag and drop (diff) | |
download | smolbote-f59e1e7a57e5b79858997aab317b15f556ff1d62.tar.xz |
Bookmarks bugfixes
- Overwriting bookmarks file when saving
- Added BookmarksModel::removeItem with mystery crash on QVector::count
Diffstat (limited to 'lib/bookmarks/bookmarkitem.h')
-rw-r--r-- | lib/bookmarks/bookmarkitem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bookmarks/bookmarkitem.h b/lib/bookmarks/bookmarkitem.h index 5059fd6..fa1a91c 100644 --- a/lib/bookmarks/bookmarkitem.h +++ b/lib/bookmarks/bookmarkitem.h @@ -25,6 +25,7 @@ public: ~BookmarkItem(); void appendChild(BookmarkItem *child); + bool removeChild(BookmarkItem *child); BookmarkItem *child(int row); int childIndex(BookmarkItem *item) const; int childCount() const; |