mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-30 01:58:41 -04:00
Remove redundant call to update tray icon during startup
* Fix #4768 * MainWindow::updateTrayIcon() is called in MainWindow::applySettingsChanges() earlier in construction. Calling this function twice in a row causes issues with startup times on Linux.
This commit is contained in:
parent
3596fabc78
commit
247882eb54
1 changed files with 0 additions and 2 deletions
|
@ -527,8 +527,6 @@ MainWindow::MainWindow()
|
||||||
m_trayIconTriggerTimer.setSingleShot(true);
|
m_trayIconTriggerTimer.setSingleShot(true);
|
||||||
connect(&m_trayIconTriggerTimer, SIGNAL(timeout()), SLOT(processTrayIconTrigger()));
|
connect(&m_trayIconTriggerTimer, SIGNAL(timeout()), SLOT(processTrayIconTrigger()));
|
||||||
|
|
||||||
updateTrayIcon();
|
|
||||||
|
|
||||||
if (config()->hasAccessError()) {
|
if (config()->hasAccessError()) {
|
||||||
m_ui->globalMessageWidget->showMessage(tr("Access error for config file %1").arg(config()->getFileName()),
|
m_ui->globalMessageWidget->showMessage(tr("Access error for config file %1").arg(config()->getFileName()),
|
||||||
MessageWidget::Error);
|
MessageWidget::Error);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue