Commit 5c823c6e authored by Laurent Montel's avatar Laurent Montel 😁

Make it const

parent e2372d5f
......@@ -81,8 +81,7 @@ void SieveEditorGraphicalModeWidget::loadScript(const QDomDocument &doc, QString
void SieveEditorGraphicalModeWidget::readConfig()
{
KConfigGroup group(KSharedConfig::openConfig(), "AutoCreateScriptDialog");
QList<int> size;
size << 100 << 400;
const QList<int> size{100, 400};
mSplitter->setSizes(group.readEntry("mainSplitter", size));
}
......
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