summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-06-08 23:26:02 +0200
committerAL <26797547+Al12rs@users.noreply.github.com>2020-06-08 23:26:02 +0200
commit210cd42395731dba433c8677384acb1062545970 (patch)
tree515073f0274eb6560bc7c3b90093dc9928246b74 /src/mainwindow.cpp
parent29893868dc318ba949b0ddc5aa996091dc9ac11b (diff)
Fix problems button not updating on startup in some cases.
Mainwindow wasn't guaranteed to exist after first directory structure refresh was complete so there was no mainwindow slot triggered to check for problems. Added a proper problems check in the mainwindow constructor.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index fc766af6..5dcfea1d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -325,7 +325,6 @@ MainWindow::MainWindow(Settings &settings
ui->logList->setCore(m_OrganizerCore);
- updateProblemsButton();
setupToolbar();
toggleMO2EndorseState();
@@ -520,6 +519,7 @@ MainWindow::MainWindow(Settings &settings
QApplication::instance()->installEventFilter(this);
+ scheduleCheckForProblems();
refreshExecutablesList();
updatePinnedExecutables();
resetActionIcons();