]> git.lyx.org Git - features.git/commit
Factor out magic zoom minimum to a const member
authorScott Kostyshak <skostysh@lyx.org>
Sat, 8 Oct 2016 03:18:54 +0000 (23:18 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 9 Oct 2016 21:18:07 +0000 (17:18 -0400)
commit168d355721d81fb5fa4969797b9a21e482f0f6b2
treee934206738e002699d9ab5586c4d5922e837d4c9
parent6a0e5571c54bcb7deb2c23cded9bb815803612f8
Factor out magic zoom minimum to a const member

The limit of 10% is used in both getStatus() and dispatch() to set a
minimum zoom level. Having it centralized makes the code more
readable and makes changing the minimum less error-prone.
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h