aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/xbel.cpp
diff options
context:
space:
mode:
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;
}
}