Commit 05cc5c2c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use script to port to QStandardPaths

parent f7366863
......@@ -2118,7 +2118,7 @@ void KAEventPrivate::setCommandError(KAEvent::CmdErrType error, bool writeConfig
mCommandError = error;
if (writeConfig)
{
KConfigGroup config(KGlobal::config(), mCmdErrConfigGroup);
KConfigGroup config(KSharedConfig::openConfig(), mCmdErrConfigGroup);
if (mCommandError == KAEvent::CMD_NO_ERROR)
config.deleteEntry(mEventID);
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