fix usage of QComboBox::currentIndexChanged

This commit is contained in:
tobtoht
2023-02-27 13:28:04 +01:00
parent 5bceb67de0
commit 48d0394a66
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ void Settings::setupStorageTab() {
// [Log level]
ui->comboBox_logLevel->setCurrentIndex(config()->get(Config::logLevel).toInt());
connect(ui->comboBox_logLevel, &QComboBox::currentIndexChanged, [](int index){
connect(ui->comboBox_logLevel, QOverload<int>::of(&QComboBox::currentIndexChanged), [](int index){
config()->set(Config::logLevel, index);
if (!config()->get(Config::disableLogging).toBool()) {
WalletManager::instance()->setLogLevel(index);