Reader: Add option to stop enlarging images in fit to width and height

This commit is contained in:
Felix Kauselmann
2020-09-02 09:15:29 +02:00
parent 5f0889f332
commit 232181eef7
8 changed files with 30 additions and 41 deletions

View File

@ -156,6 +156,7 @@ void MainWindowViewer::setupUI()
connect(optionsDialog, SIGNAL(accepted()), viewer, SLOT(updateOptions()));
connect(optionsDialog, SIGNAL(optionsChanged()), this, SLOT(reloadOptions()));
connect(optionsDialog, SIGNAL(changedFilters(int, int, int)), viewer, SLOT(updateFilters(int, int, int)));
connect(optionsDialog, &OptionsDialog::changedImageOptions, viewer, &Viewer::updatePage);
optionsDialog->restoreOptions(settings);
//shortcutsDialog = new ShortcutsDialog(this);