From cb30cee7a065a074394347f112451decc4847674 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 17 Jan 2020 20:25:44 +0200 Subject: Fix various gcc and clazy compile warnings --- lib/bookmarks/formats/xbel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bookmarks/formats/xbel.cpp') 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); -- cgit v1.2.1