diff options
author | Michele Calgaro <[email protected]> | 2018-11-28 00:04:05 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-11-28 00:04:05 +0900 |
commit | 6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b (patch) | |
tree | 154aa555033fe887b9b56d8a559000c89b166f1e /kdesktop/minicli.cpp | |
parent | 3c2da5f0e188e1f1152da840bdf8d94ceb509671 (diff) | |
download | tdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.tar.gz tdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.zip |
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdesktop/minicli.cpp')
-rw-r--r-- | kdesktop/minicli.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdesktop/minicli.cpp b/kdesktop/minicli.cpp index afc28f3b0..9fb4a283c 100644 --- a/kdesktop/minicli.cpp +++ b/kdesktop/minicli.cpp @@ -483,7 +483,7 @@ int Minicli::runCommand() proc_checkpwd.setScheduler(m_iScheduler); } - if (proc_checkpwd.checkInstall(m_dlg->lePassword->password()) != 0) + if (proc_checkpwd.checkInstall(m_dlg->lePassword->password().utf8()) != 0) { KMessageBox::sorry(this, i18n("Incorrect password; please try again.")); return 1; @@ -534,7 +534,7 @@ int Minicli::runCommand() sigprocmask(SIG_BLOCK, &sset, 0L); proc.setTerminal(true); proc.setErase(true); - _exit(proc.exec(m_dlg->lePassword->password())); + _exit(proc.exec(m_dlg->lePassword->password().utf8())); return 0; } else |