diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-13 15:16:45 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-13 15:16:45 +0100 |
commit | 8485cca81df18f194af53ad6cbda43aaa7eaccf9 (patch) | |
tree | b2319fc2f3b67de74686d050d75d9c146d9e2bac /lib | |
parent | Writing BookmarksModel to xbel (diff) | |
download | smolbote-8485cca81df18f194af53ad6cbda43aaa7eaccf9.tar.xz |
Multithreaded saving during shutdown
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bookmarks/bookmarkswidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bookmarks/bookmarkswidget.cpp b/lib/bookmarks/bookmarkswidget.cpp index 575f52f..21bf804 100644 --- a/lib/bookmarks/bookmarkswidget.cpp +++ b/lib/bookmarks/bookmarkswidget.cpp @@ -67,6 +67,8 @@ void BookmarksWidget::save() { if(m_model->isModified()) qDebug("Writing bookmarks %s", m_model->write(xbel) ? "ok" : "failed"); + else + qDebug("Writing bookmarks skipped"); } QAbstractItemModel *BookmarksWidget::model() const |