Commit 03e273ad authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 75772e32
......@@ -960,7 +960,7 @@ void KOPrefsDialogColorsAndFonts::usrReadConfig()
void KOPrefsDialogColorsAndFonts::useSystemColorToggle(bool useSystemColor)
{
for (KColorButton *colorButton : mButtonsDisable) {
for (KColorButton *colorButton : qAsConst(mButtonsDisable)) {
if (useSystemColor) {
colorButton->setEnabled(false);
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment