Commit fc3fa098 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

KMessageBox::sorry is deprecated in kf5.97

parent 5d1ed28e
Pipeline #210496 passed with stage
in 2 minutes and 30 seconds
......@@ -165,10 +165,10 @@ int main(int argc, char *argv[])
int result = startApp(parser);
if (result == 127) {
KMessageBox::sorry(nullptr, i18n("Cannot execute command '%1'.", QString::fromLocal8Bit(command)));
KMessageBox::error(nullptr, i18n("Cannot execute command '%1'.", QString::fromLocal8Bit(command)));
}
if (result == -2) {
KMessageBox::sorry(nullptr, i18n("Cannot execute command '%1'. It contains invalid characters.", QString::fromLocal8Bit(command)));
KMessageBox::error(nullptr, i18n("Cannot execute command '%1'. It contains invalid characters.", QString::fromLocal8Bit(command)));
}
return result;
......
Supports Markdown
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