aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-01-13 15:16:45 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-01-13 15:16:45 +0100
commit8485cca81df18f194af53ad6cbda43aaa7eaccf9 (patch)
treeb2319fc2f3b67de74686d050d75d9c146d9e2bac /lib
parentWriting BookmarksModel to xbel (diff)
downloadsmolbote-8485cca81df18f194af53ad6cbda43aaa7eaccf9.tar.xz
Multithreaded saving during shutdown
Diffstat (limited to 'lib')
-rw-r--r--lib/bookmarks/bookmarkswidget.cpp2
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