Commit 4d64f16e authored by Ömer Fadıl Usta's avatar Ömer Fadıl Usta 😊

[kdialog] Fixes the always asking even without dontagain flag usage

Normally it must just ask "Do not ask again?" question whenever used with --dontagain flag
on the other hand it was always asking. This little patch fixes this problem.

FIXED-IN: 20.08.2
BUG: 426979
parent cada8e44
......@@ -527,7 +527,7 @@ int main(int argc, char *argv[])
icon, // icon
text, // text
{}, // strlist
i18n("Do not ask again"), // ask
dontagain.isEmpty() ? QString() : i18n("Do not ask again"), // ask
nullptr, // checkboxReturn
options, // options
details); // details
......
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