Change zoom limit from 3x to 5x

This commit is contained in:
Abs62 2012-12-03 17:13:13 +04:00
parent 81875d74f6
commit e28b25a76e

View file

@ -2615,12 +2615,12 @@ void MainWindow::unzoom()
void MainWindow::applyZoomFactor() void MainWindow::applyZoomFactor()
{ {
if ( cfg.preferences.zoomFactor >= 3 ) if ( cfg.preferences.zoomFactor >= 5 )
cfg.preferences.zoomFactor = 3; cfg.preferences.zoomFactor = 5;
else if ( cfg.preferences.zoomFactor <= 0.7 ) else if ( cfg.preferences.zoomFactor <= 0.7 )
cfg.preferences.zoomFactor = 0.7; cfg.preferences.zoomFactor = 0.7;
zoomIn->setEnabled( cfg.preferences.zoomFactor < 3 ); zoomIn->setEnabled( cfg.preferences.zoomFactor < 5 );
zoomOut->setEnabled( cfg.preferences.zoomFactor > 0.7 ); zoomOut->setEnabled( cfg.preferences.zoomFactor > 0.7 );
zoomBase->setEnabled( cfg.preferences.zoomFactor != 1.0 ); zoomBase->setEnabled( cfg.preferences.zoomFactor != 1.0 );