Fix a typo in Viewer::magnifyingGlassShowed name

Make Viewer::magnifyingGlassIsVisible() const.
This commit is contained in:
Igor Kushnir
2021-03-08 17:54:20 +02:00
parent c8697ccd2d
commit 5254e66da3
2 changed files with 9 additions and 9 deletions

View File

@ -78,7 +78,7 @@ public slots:
void animateHideGoToFlow();
void rotateLeft();
void rotateRight();
bool magnifyingGlassIsVisible() { return magnifyingGlassShowed; }
bool magnifyingGlassIsVisible() const { return magnifyingGlassShown; }
void setBookmark(bool);
void save();
void doublePageSwitch();
@ -157,7 +157,7 @@ private:
private:
//! Magnifying glass
MagnifyingGlass *mglass;
bool magnifyingGlassShowed;
bool magnifyingGlassShown;
bool restoreMagnifyingGlass;
//! Manejadores de evento: