summaryrefslogtreecommitdiff
path: root/src/bookmarks/test/xbel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/test/xbel.cpp')
-rw-r--r--src/bookmarks/test/xbel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks/test/xbel.cpp b/src/bookmarks/test/xbel.cpp
index a836dd9a..03bd061a 100644
--- a/src/bookmarks/test/xbel.cpp
+++ b/src/bookmarks/test/xbel.cpp
@@ -55,7 +55,7 @@ bool operator==(const BookmarksTreeItem &lhs, const BookmarksTreeItem &rhs)
{
QBuffer buffer(&data);
if (!buffer.open(QIODevice::ReadOnly | QIODevice::Text)) return false;
- return xbel::read(&buffer, root);
+ return xbel::read(&buffer, root).isEmpty();
}
namespace {