reorder initialization of Viewer::Viewer

This commit is contained in:
François Gannaz 2019-04-01 09:16:09 +02:00
parent 0e0d707faf
commit 06a36bfa40

View File

@ -24,20 +24,20 @@
Viewer::Viewer(QWidget * parent) Viewer::Viewer(QWidget * parent)
:QScrollArea(parent), :QScrollArea(parent),
currentPage(0),
magnifyingGlassShowed(false),
fullscreen(false), fullscreen(false),
information(false), information(false),
doublePage(false), doublePage(false),
doubleMangaPage(false), doubleMangaPage(false),
zoom(100),
currentPage(0),
wheelStop(false), wheelStop(false),
direction(1), direction(1),
restoreMagnifyingGlass(false),
drag(false), drag(false),
numScrollSteps(22), numScrollSteps(22),
shouldOpenNext(false), shouldOpenNext(false),
shouldOpenPrevious(false), shouldOpenPrevious(false),
zoom(100) magnifyingGlassShowed(false),
restoreMagnifyingGlass(false)
{ {
translator = new YACReaderTranslator(this); translator = new YACReaderTranslator(this);
translator->hide(); translator->hide();