diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-17 20:25:44 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-17 21:27:00 +0200 |
commit | cb30cee7a065a074394347f112451decc4847674 (patch) | |
tree | 25f0ef36bb776a5e1938232e132b0a464fd5a9bc /lib/bookmarks/formats | |
parent | Merge branch 'firefox-bookmarks-json-importer' (diff) | |
download | smolbote-cb30cee7a065a074394347f112451decc4847674.tar.xz |
Fix various gcc and clazy compile warnings
Diffstat (limited to 'lib/bookmarks/formats')
-rw-r--r-- | lib/bookmarks/formats/xbel.cpp | 2 |
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); |