mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Fix build
This commit is contained in:
parent
a6373bd3c9
commit
52d4e3583b
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user