1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02: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; BookmarkItem::Type type;
if (map["type"].isValid()) { if (map["type"].isValid()) {
type = BookmarkItem::Type(map["type"].toInt(false)); type = BookmarkItem::Type(map["type"].toInt());
} else if (urlString.isEmpty()){ } else if (urlString.isEmpty()){
if (!title.isEmpty()) { if (!title.isEmpty()) {
type = BookmarkItem::Folder; type = BookmarkItem::Folder;