Diffstat (limited to 'noncore/net/opieirc/ircservereditor.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircservereditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/opieirc/ircservereditor.cpp b/noncore/net/opieirc/ircservereditor.cpp index 2d11bf0..1fda868 100644 --- a/noncore/net/opieirc/ircservereditor.cpp +++ b/noncore/net/opieirc/ircservereditor.cpp | |||
@@ -58,12 +58,12 @@ void IRCServerEditor::accept() { | |||
58 | QMessageBox::critical(this, tr("Error"), tr("Profile name required")); | 58 | QMessageBox::critical(this, tr("Error"), tr("Profile name required")); |
59 | else if (m_hostname->text().length()==0) | 59 | else if (m_hostname->text().length()==0) |
60 | QMessageBox::critical(this, tr("Error"), tr("Host name required")); | 60 | QMessageBox::critical(this, tr("Error"), tr("Host name required")); |
61 | else if (m_port->text().toInt()<=0) | 61 | //else if (m_port->text().toInt()<=0) |
62 | QMessageBox::critical(this, tr("Error"), tr("Port required")); | 62 | // QMessageBox::critical(this, tr("Error"), tr("Port required")); |
63 | else if (m_nickname->text().length()==0) | 63 | else if (m_nickname->text().length()==0) |
64 | QMessageBox::critical(this, tr("Error"), tr("Nickname required")); | 64 | QMessageBox::critical(this, tr("Error"), tr("Nickname required")); |
65 | else if (m_realname->text().length()==0) | 65 | //else if (m_realname->text().length()==0) |
66 | QMessageBox::critical(this, tr("Error"), tr("Realname required")); | 66 | // QMessageBox::critical(this, tr("Error"), tr("Realname required")); |
67 | else { | 67 | else { |
68 | /* Now verify whether the channel list has a valid format */ | 68 | /* Now verify whether the channel list has a valid format */ |
69 | QStringList channels = QStringList::split(QChar(','), m_channels->text()); | 69 | QStringList channels = QStringList::split(QChar(','), m_channels->text()); |