From f779510603e01de438e337c82c439cc6649cd7c3 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 7 Feb 2018 21:08:39 +0100 Subject: Rewrote bookmark manager to use QTreeWidget over QTreeView - cut out all the boilerplate that was BookmarkItem/BookmarksModel - deleting items no longer crash; proper drag'n'drop - Split Xbel into XbelReader and XbelWriter --- lib/bookmarks/CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/bookmarks/CMakeLists.txt') diff --git a/lib/bookmarks/CMakeLists.txt b/lib/bookmarks/CMakeLists.txt index 53ba51e..e94c494 100644 --- a/lib/bookmarks/CMakeLists.txt +++ b/lib/bookmarks/CMakeLists.txt @@ -4,13 +4,12 @@ add_library(bookmarks bookmarksform.ui bookmarkswidget.cpp bookmarkswidget.h - # model - bookmarkitem.cpp - bookmarkitem.h - bookmarksmodel.cpp - bookmarksmodel.h + bookmarksview.cpp + bookmarksview.h # xbel xbel.cpp xbel.h) +target_include_directories(bookmarks + PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries(bookmarks Qt5::Widgets) \ No newline at end of file -- cgit v1.2.1