-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 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 | */ |
104 | void MenuButton::insertItem( const QIconSet& icon, const QString& text=QString::null ) | 104 | void 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); |