mirror of https://github.com/JakubMelka/PDF4QT.git
Issue #54: Linux compilation
This commit is contained in:
parent
e87b14dc3a
commit
1ed7a12357
|
@ -35,7 +35,7 @@ public:
|
||||||
QJsonObject json;
|
QJsonObject json;
|
||||||
json["isAuto"] = bookmark.isAuto;
|
json["isAuto"] = bookmark.isAuto;
|
||||||
json["name"] = bookmark.name;
|
json["name"] = bookmark.name;
|
||||||
json["pageIndex"] = bookmark.pageIndex;
|
json["pageIndex"] = static_cast<qint64>(bookmark.pageIndex);
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ public:
|
||||||
PDFBookmarkManager::Bookmark bookmark;
|
PDFBookmarkManager::Bookmark bookmark;
|
||||||
bookmark.isAuto = json["isAuto"].toBool();
|
bookmark.isAuto = json["isAuto"].toBool();
|
||||||
bookmark.name = json["name"].toString();
|
bookmark.name = json["name"].toString();
|
||||||
bookmark.pageIndex = json["pageIndex"].toInt();
|
bookmark.pageIndex = json["pageIndex"].toInteger();
|
||||||
return bookmark;
|
return bookmark;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue