mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-14 22:35:49 +00:00
clang-tidy warning fixes
This commit is contained in:
@ -141,15 +141,17 @@ void AWAbstractPairConfig::execDialog()
|
||||
}
|
||||
|
||||
// save configuration if required
|
||||
auto status = true;
|
||||
switch (ret) {
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
default:
|
||||
m_helper->writeItems(data);
|
||||
m_helper->removeUnusedKeys(data.keys());
|
||||
status &= m_helper->writeItems(data);
|
||||
status &= m_helper->removeUnusedKeys(data.keys());
|
||||
break;
|
||||
}
|
||||
qCDebug(LOG_AW) << "Configuration save status" << status;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user