summaryrefslogtreecommitdiff
path: root/library/menubutton.cpp
authorsimon <simon>2002-03-25 19:19:51 (UTC)
committer simon <simon>2002-03-25 19:19:51 (UTC)
commit956522a9355051294e12e85e564d8ae1f0b928a3 (patch) (unidiff)
tree1926e6b270be501ed9fa4d5b89d839666c2c82ba /library/menubutton.cpp
parent7c0676ba302dc1cfa4348423544ea2d66417c1bd (diff)
downloadopie-956522a9355051294e12e85e564d8ae1f0b928a3.zip
opie-956522a9355051294e12e85e564d8ae1f0b928a3.tar.gz
opie-956522a9355051294e12e85e564d8ae1f0b928a3.tar.bz2
- no default arguments in method implementations
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 c34383a..6b1fa2b 100644
--- a/library/menubutton.cpp
+++ b/library/menubutton.cpp
@@ -101,7 +101,7 @@ void MenuButton::insertItems( const QStringList& items )
101/*! 101/*!
102 Inserts an \a icon and \a text into the menu. 102 Inserts an \a icon and \a text into the menu.
103*/ 103*/
104void MenuButton::insertItem( const QIconSet& icon, const QString& text=QString::null ) 104void MenuButton::insertItem( const QIconSet& icon, const QString& text )
105{ 105{
106 pop->insertItem(icon, text, nitems++); 106 pop->insertItem(icon, text, nitems++);
107 if ( nitems==1 ) select(0); 107 if ( nitems==1 ) select(0);