author | zecke <zecke> | 2002-10-06 09:53:54 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-06 09:53:54 (UTC) |
commit | 4209ade719759f4b079bdd40baa4d255ce1e9d3a (patch) (unidiff) | |
tree | 34ba8c99dd79f6b6f6c5b396e288f7de9493dda9 | |
parent | 93432da5b2a73874b359d4a4468cdaffeaab960c (diff) | |
download | opie-4209ade719759f4b079bdd40baa4d255ce1e9d3a.zip opie-4209ade719759f4b079bdd40baa4d255ce1e9d3a.tar.gz opie-4209ade719759f4b079bdd40baa4d255ce1e9d3a.tar.bz2 |
As spotted on the MailinList
no default arguments in the implementation!
-rw-r--r-- | library/menubutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/menubutton.cpp b/library/menubutton.cpp index f5c832c..007761f 100644 --- a/library/menubutton.cpp +++ b/library/menubutton.cpp | |||
@@ -123,9 +123,9 @@ void MenuButton::insertItems( const QStringList& items ) | |||
123 | the menu. | 123 | the menu. |
124 | 124 | ||
125 | \sa insertItems() | 125 | \sa insertItems() |
126 | */ | 126 | */ |
127 | void MenuButton::insertItem( const QIconSet& icon, const QString& text=QString::null ) | 127 | void MenuButton::insertItem( const QIconSet& icon, const QString& text ) |
128 | { | 128 | { |
129 | pop->insertItem(icon, text, nitems++); | 129 | pop->insertItem(icon, text, nitems++); |
130 | if ( nitems==1 ) select(0); | 130 | if ( nitems==1 ) select(0); |
131 | } | 131 | } |