mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-20 08:38:40 +02:00
fix usage of QComboBox::currentIndexChanged
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user