-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 | } |