fix: Fix usage below

Signed-off-by: Redson <redson@riseup.net>
This commit is contained in:
Redson 2022-11-17 06:39:05 -03:00
parent bd3a693e70
commit f72ac94c11
No known key found for this signature in database
GPG Key ID: A55CD2880240ABD7

View File

@ -1322,7 +1322,7 @@ void MainWindow::updateThemeMenu()
if (APPLICATION->settings()->get("ApplicationTheme").toString() == theme->id()) { if (APPLICATION->settings()->get("ApplicationTheme").toString() == theme->id()) {
themeAction->setChecked(true); themeAction->setChecked(true);
} }
themeAction->setActionGroup(ThemesGroup); themeAction->setActionGroup(themesGroup);
connect(themeAction, &QAction::triggered, [theme]() { connect(themeAction, &QAction::triggered, [theme]() {
APPLICATION->setApplicationTheme(theme->id(),false); APPLICATION->setApplicationTheme(theme->id(),false);