Eliminate a redundant makeScanPopup() call

Destroying and creating a scan popup instance twice in
MainWindow::editPreferences() is wasteful.

2b9dd55804 added the unconditional second
makeScanPopup() call below but didn't remove the existing call,
probably by mistake.
This commit is contained in:
Igor Kushnir 2018-04-18 22:06:45 +03:00
parent 0a8599d9b1
commit eec796c6e3

View file

@ -2109,7 +2109,6 @@ void MainWindow::editPreferences()
updateTrayIcon();
applyProxySettings();
applyWebSettings();
makeScanPopup();
ui.tabWidget->setHideSingleTab(cfg.preferences.hideSingleTab);