summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-02-11 19:34:14 (UTC)
committer harlekin <harlekin>2003-02-11 19:34:14 (UTC)
commitaf398bd4c280e7c27754b409851fbe8189d08819 (patch) (side-by-side diff)
tree2358594d8e60673f3f0909e3d9dab628c555322e
parent3a82474f1b90ac803f8dd9dd43f2901e7a0b0aad (diff)
downloadopie-af398bd4c280e7c27754b409851fbe8189d08819.zip
opie-af398bd4c280e7c27754b409851fbe8189d08819.tar.gz
opie-af398bd4c280e7c27754b409851fbe8189d08819.tar.bz2
fix bug #259, asterik instead of cleartext for password
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircservereditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircservereditor.cpp b/noncore/net/opieirc/ircservereditor.cpp
index 91384fd..60274d1 100644
--- a/noncore/net/opieirc/ircservereditor.cpp
+++ b/noncore/net/opieirc/ircservereditor.cpp
@@ -20,32 +20,33 @@ IRCServerEditor::IRCServerEditor(IRCServer server, QWidget* parent, const char*
m_port = new QLineEdit(QString::number(server.port()), this);
QWhatsThis::add(m_port, tr("The server port to connect to. Usually 6667"));
layout->addWidget(label, 2, 0);
layout->addWidget(m_port, 2, 1);
label = new QLabel(tr("Nickname :"), this);
m_nickname = new QLineEdit(server.nick(), this);
QWhatsThis::add(m_nickname, tr("Your nick name on the IRC network"));
layout->addWidget(label, 3, 0);
layout->addWidget(m_nickname, 3, 1);
label = new QLabel(tr("Realname :"), this);
m_realname = new QLineEdit(server.realname(), this);
QWhatsThis::add(m_realname, tr("Your real name"));
layout->addWidget(label, 4, 0);
layout->addWidget(m_realname, 4, 1);
label = new QLabel(tr("Password :"), this);
m_password = new QLineEdit(server.password(), this);
+ m_password->setEchoMode( QLineEdit::Password );
QWhatsThis::add(m_password, tr("Password to connect to the server (if required)"));
layout->addWidget(label, 5, 0);
layout->addWidget(m_password, 5, 1);
label = new QLabel(tr("Channels :"), this);
m_channels = new QLineEdit(server.channels(), this);
QWhatsThis::add(m_channels, tr("Comma-Separated list of all channels you would like to join automatically"));
layout->addWidget(label, 6, 0);
layout->addWidget(m_channels, 6, 1);
setCaption(tr("Edit server information"));
showMaximized();
}
void IRCServerEditor::accept() {
if (m_name->text().length()==0)
QMessageBox::critical(this, tr("Error"), tr("Profile name required"));