summaryrefslogtreecommitdiff
Unidiff
Diffstat (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
@@ -115,25 +115,25 @@ void MenuButton::insertItems( const QStringList& items )
115 insertSeparator(); 115 insertSeparator();
116 else 116 else
117 insertItem(*it); 117 insertItem(*it);
118 } 118 }
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*/
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/*!
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.
136 136
137 \sa insertItems() 137 \sa insertItems()
138*/ 138*/
139void MenuButton::insertItem( const QString& text ) 139void MenuButton::insertItem( const QString& text )