aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/xbel.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-22 10:53:47 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-22 10:53:47 +0200
commit2c9b2c35356caf4fd8213cff7e599a7c49346ac2 (patch)
tree2cc1f5cd5b115ff40af5ee48ab3cb785bacbbf2b /lib/bookmarks/xbel.cpp
parentUpdate manpage (diff)
downloadsmolbote-2c9b2c35356caf4fd8213cff7e599a7c49346ac2.tar.xz
Fix various warnings
Diffstat (limited to 'lib/bookmarks/xbel.cpp')
-rw-r--r--lib/bookmarks/xbel.cpp4
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;
}
}