[app] Fixed saving the shelf position for zipped books
This commit is contained in:
parent
4417e55191
commit
44a7fe7553
1 changed files with 2 additions and 1 deletions
|
@ -47,6 +47,7 @@
|
|||
#include "library/Author.h"
|
||||
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
#include <QDirIterator>
|
||||
#include <QGuiApplication>
|
||||
#include <QScreen>
|
||||
|
@ -305,7 +306,7 @@ BooksBook::BooksBook(const BooksStorage& aStorage, shared_ptr<Book> aBook) :
|
|||
HASSERT(!iBook.isNull());
|
||||
iTitle = QString::fromStdString(iBook->title());
|
||||
iPath = QString::fromStdString(iBook->file().physicalFilePath());
|
||||
iFileName = QString::fromStdString(iBook->file().name(false));
|
||||
iFileName = QFileInfo(iPath).fileName();
|
||||
iFormatPlugin = PluginCollection::Instance().plugin(*iBook);
|
||||
AuthorList authors(iBook->authors());
|
||||
const int n = authors.size();
|
||||
|
|
Loading…
Reference in a new issue