aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-01-17 20:25:44 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-01-17 21:27:00 +0200
commitcb30cee7a065a074394347f112451decc4847674 (patch)
tree25f0ef36bb776a5e1938232e132b0a464fd5a9bc /lib/bookmarks
parentMerge branch 'firefox-bookmarks-json-importer' (diff)
downloadsmolbote-cb30cee7a065a074394347f112451decc4847674.tar.xz
Fix various gcc and clazy compile warnings
Diffstat (limited to 'lib/bookmarks')
-rw-r--r--lib/bookmarks/formats/xbel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bookmarks/formats/xbel.cpp b/lib/bookmarks/formats/xbel.cpp
index bac2bc8..7ff79a9 100644
--- a/lib/bookmarks/formats/xbel.cpp
+++ b/lib/bookmarks/formats/xbel.cpp
@@ -32,7 +32,7 @@ inline void readChildElements(QXmlStreamReader &reader, BookmarkItem *parent)
} else if(reader.name() == "folder") {
auto *item = new BookmarkItem({}, BookmarkItem::Folder, parent);
- item->setExpanded(!(reader.attributes().value("folded") == QLatin1Literal("yes")));
+ item->setExpanded(!(reader.attributes().value("folded") == QLatin1String("yes")));
parent->appendChild(item);
readChildElements(reader, item);