kdesu: use QFile::decodeName for command in KDEsuDialog to fix encoding

This commit is contained in:
Ivailo Monev 2015-01-03 23:15:01 +00:00
parent 58f1b49f80
commit 5fca64b9eb

View file

@ -380,7 +380,7 @@ static int startApp()
#endif #endif
KDEsuDialog dlg(user, auth_user, keep && !terminal, icon, withIgnoreButton); KDEsuDialog dlg(user, auth_user, keep && !terminal, icon, withIgnoreButton);
if (prompt) if (prompt)
dlg.addCommentLine(i18n("Command:"), command); dlg.addCommentLine(i18n("Command:"), QFile::decodeName(command));
if (defKeep) if (defKeep)
dlg.setKeepPassword(true); dlg.setKeepPassword(true);