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