summaryrefslogtreecommitdiff
path: root/noncore
authorzecke <zecke>2002-11-03 11:12:33 (UTC)
committer zecke <zecke>2002-11-03 11:12:33 (UTC)
commit5ec23891e1c5b7bc571d86326b511d1a48b14c45 (patch) (side-by-side diff)
tree888f069753c2bffa681dfbb903a316b0d9db9a49 /noncore
parent2afc9d92749fbd5c2b94475c3eb4607d3b9b0105 (diff)
downloadopie-5ec23891e1c5b7bc571d86326b511d1a48b14c45.zip
opie-5ec23891e1c5b7bc571d86326b511d1a48b14c45.tar.gz
opie-5ec23891e1c5b7bc571d86326b511d1a48b14c45.tar.bz2
Remove default arguments from the implementation
jowenn
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircmisc.cpp2
-rw-r--r--noncore/net/opieirc/ircservereditor.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/opieirc/ircmisc.cpp b/noncore/net/opieirc/ircmisc.cpp
index c8e6190..f94cf1b 100644
--- a/noncore/net/opieirc/ircmisc.cpp
+++ b/noncore/net/opieirc/ircmisc.cpp
@@ -34,7 +34,7 @@ QColor IRCFramedColorLabel::color() {
IRCTabBar::IRCTabBar(QWidget *parent, const char *name) : QTabBar(parent, name) {
}
-int IRCTabBar::insertTab(QTab *tab, int index = -1) {
+int IRCTabBar::insertTab(QTab *tab, int index) {
/* FIXME: find some nicer way to do this */
QExtTab *ext = new QExtTab();
ext->color = black;
diff --git a/noncore/net/opieirc/ircservereditor.cpp b/noncore/net/opieirc/ircservereditor.cpp
index 8604835..91384fd 100644
--- a/noncore/net/opieirc/ircservereditor.cpp
+++ b/noncore/net/opieirc/ircservereditor.cpp
@@ -4,7 +4,7 @@
#include <qwhatsthis.h>
#include "ircservereditor.h"
-IRCServerEditor::IRCServerEditor(IRCServer server, QWidget* parent, const char* name, bool modal = FALSE, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) {
+IRCServerEditor::IRCServerEditor(IRCServer server, QWidget* parent, const char* name, bool modal, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) {
QGridLayout *layout = new QGridLayout(this, 7, 2, 5, 5);
QLabel *label = new QLabel(tr("Profile name :"), this);
m_name = new QLineEdit(server.name(), this);