-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 | |||
@@ -119,17 +119,17 @@ void MenuButton::insertItems( const QStringList& items ) | |||
119 | } | 119 | } |
120 | 120 | ||
121 | /*! | 121 | /*! |
122 | Inserts a menu item with the icon \a icon and label \a text into | 122 | Inserts a menu item with the icon \a icon and label \a text into |
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 | } |
132 | 132 | ||
133 | /*! | 133 | /*! |
134 | \overload | 134 | \overload |
135 | Inserts a menu item with the label \a text into the menu. | 135 | Inserts a menu item with the label \a text into the menu. |