diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-22 10:53:47 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-22 10:53:47 +0200 |
commit | 2c9b2c35356caf4fd8213cff7e599a7c49346ac2 (patch) | |
tree | 2cc1f5cd5b115ff40af5ee48ab3cb785bacbbf2b /lib/bookmarks/xbel.cpp | |
parent | Update manpage (diff) | |
download | smolbote-2c9b2c35356caf4fd8213cff7e599a7c49346ac2.tar.xz |
Fix various warnings
Diffstat (limited to 'lib/bookmarks/xbel.cpp')
-rw-r--r-- | lib/bookmarks/xbel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bookmarks/xbel.cpp b/lib/bookmarks/xbel.cpp index 0f84447..cd17f2d 100644 --- a/lib/bookmarks/xbel.cpp +++ b/lib/bookmarks/xbel.cpp @@ -70,14 +70,16 @@ void writeChildElements(QXmlStreamWriter &writer, BookmarksView *treeWidget, QTr } writer.writeEndElement(); - break; + case BookmarksView::Bookmark: writer.writeStartElement("bookmark"); writer.writeAttribute("href", parentItem->text(1)); writer.writeTextElement("title", parentItem->text(0)); writer.writeEndElement(); + break; + case BookmarksView::Invalid: break; } } |