[app] Fixed the problem with the font size adjustment being ignored

Per-book font size adjustment was essentially ignored until the font
size is changed for the first time.
This commit is contained in:
Slava Monich 2016-10-30 01:07:20 +03:00
parent 75ce1acb1c
commit 8169b31531

View file

@ -247,6 +247,7 @@ void BooksBookModel::setBook(BooksBook* aBook)
(iBook = aBook)->retain();
iBookRef = newBook;
iTitle = iBook->title();
iTextStyle = iSettings->textStyle(fontSizeAdjust());
connect(iBook, SIGNAL(fontSizeAdjustChanged()), SLOT(onTextStyleChanged()));
HDEBUG(iTitle);
} else {