kdepasswd: remove unused and private PtyProcess::m_Command member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-07-29 11:08:26 +03:00
parent de3036ebc0
commit 4f0ad0b1b2
2 changed files with 7 additions and 9 deletions

View file

@ -44,8 +44,6 @@
#include "settings.h" // KConfigXT
/**
* TODO: It would be nice if the widget were in a .ui
*/
@ -141,8 +139,9 @@ void ChFaceDlg::addCustomPixmap(const QString &imPath, bool saveCopy)
)
);
#if 0
if (!pix.save(userfaces.absolutePath() + '/' + imPath , "PNG"))
if (!pix.save(userfaces.absolutePath() + '/' + imPath , "PNG")) {
KMessageBox::sorry(this, i18n("There was an error saving the image:\n%1", userfaces.absolutePath()));
}
#endif
}

View file

@ -180,7 +180,6 @@ protected:
newlines to be printed after output. Set to @c false
in constructor. @see setTerminal() */
int m_Pid; /**< PID of child process */
QByteArray m_Command; /**< Unused */
QByteArray m_Exit; /**< String to scan for in output that indicates child has exited. */
private: