summaryrefslogtreecommitdiff
path: root/library
Unidiff
Diffstat (limited to 'library') (more/less context) (show 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 )
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*/
127void MenuButton::insertItem( const QIconSet& icon, const QString& text=QString::null ) 127void 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/*!