summaryrefslogtreecommitdiff
path: root/library/menubutton.cpp
authorzecke <zecke>2002-10-06 09:53:54 (UTC)
committer zecke <zecke>2002-10-06 09:53:54 (UTC)
commit4209ade719759f4b079bdd40baa4d255ce1e9d3a (patch) (side-by-side diff)
tree34ba8c99dd79f6b6f6c5b396e288f7de9493dda9 /library/menubutton.cpp
parent93432da5b2a73874b359d4a4468cdaffeaab960c (diff)
downloadopie-4209ade719759f4b079bdd40baa4d255ce1e9d3a.zip
opie-4209ade719759f4b079bdd40baa4d255ce1e9d3a.tar.gz
opie-4209ade719759f4b079bdd40baa4d255ce1e9d3a.tar.bz2
As spotted on the MailinList
no default arguments in the implementation!
Diffstat (limited to 'library/menubutton.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/menubutton.cpp2
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
@@ -121,13 +121,13 @@ void MenuButton::insertItems( const QStringList& items )
/*!
Inserts a menu item with the icon \a icon and label \a text into
the menu.
\sa insertItems()
*/
-void MenuButton::insertItem( const QIconSet& icon, const QString& text=QString::null )
+void MenuButton::insertItem( const QIconSet& icon, const QString& text )
{
pop->insertItem(icon, text, nitems++);
if ( nitems==1 ) select(0);
}
/*!