1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Fix build

This commit is contained in:
David Rosca 2018-05-20 10:19:38 +02:00
parent a6373bd3c9
commit 52d4e3583b
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -133,7 +133,7 @@ bool QmlBookmarks::create(const QVariantMap &map)
BookmarkItem::Type type;
if (map["type"].isValid()) {
type = BookmarkItem::Type(map["type"].toInt(false));
type = BookmarkItem::Type(map["type"].toInt());
} else if (urlString.isEmpty()){
if (!title.isEmpty()) {
type = BookmarkItem::Folder;