Fix two CLang warnings.

This commit is contained in:
OBattler
2025-09-02 23:06:29 +02:00
parent d8b7b25820
commit 4063ce7739
2 changed files with 2 additions and 2 deletions

View File

@@ -351,7 +351,7 @@ illegal_chars:
}
});
connect(vm_model, &VMManagerModel::globalConfigurationChanged, this, [this] () {
connect(vm_model, &VMManagerModel::globalConfigurationChanged, this, [] () {
vmm_main_window->updateSettings();
});

View File

@@ -130,7 +130,7 @@ VMManagerMainWindow(QWidget *parent)
connect(this, &VMManagerMainWindow::languageUpdated, vmm, &VMManagerMain::onLanguageUpdated);
#ifdef Q_OS_WINDOWS
connect(this, &VMManagerMainWindow::darkModeUpdated, vmm, &VMManagerMain::onDarkModeUpdated);
connect(this, &VMManagerMainWindow::preferencesUpdated, [this] () { vmm_dark_mode_filter->reselectDarkMode(); });
connect(this, &VMManagerMainWindow::preferencesUpdated, [] () { vmm_dark_mode_filter->reselectDarkMode(); });
#endif
{