From 6e2efea0f43d8e5bb4eb40b16a0281de342f003b Mon Sep 17 00:00:00 2001 From: Javier Date: Fri, 8 Jul 2016 22:43:06 +0200 Subject: fix issue parsing notebook guid --- afdnotebook.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afdnotebook.cc b/afdnotebook.cc index 56a3749..eaff949 100644 --- a/afdnotebook.cc +++ b/afdnotebook.cc @@ -245,7 +245,7 @@ bool AfdNotebook::parseMainInfo() } _title = info["title"]; - _guid = info["guid"].mid(3).toULongLong(0, 16); + _guid = info["guid"].mid(2).toULongLong(0, 16); _firstPage = AfdPageAddress(info["pagestart"]); _lastPage = AfdPageAddress(info["pagestop"]); _pagesPerBook = info.value("segment-pages-per-book", "108").toUInt(); -- cgit v1.2.3