mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
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:
parent
0a8599d9b1
commit
eec796c6e3
|
@ -2109,7 +2109,6 @@ void MainWindow::editPreferences()
|
||||||
updateTrayIcon();
|
updateTrayIcon();
|
||||||
applyProxySettings();
|
applyProxySettings();
|
||||||
applyWebSettings();
|
applyWebSettings();
|
||||||
makeScanPopup();
|
|
||||||
|
|
||||||
ui.tabWidget->setHideSingleTab(cfg.preferences.hideSingleTab);
|
ui.tabWidget->setHideSingleTab(cfg.preferences.hideSingleTab);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue