fix: Fix usage below
Signed-off-by: Redson <redson@riseup.net>
This commit is contained in:
parent
bd3a693e70
commit
f72ac94c11
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user