Index: ktoolbar.cpp =================================================================== RCS file: /home/kde/kdelibs/kdeui/ktoolbar.cpp,v retrieving revision 1.365 diff -u -p -b -r1.365 ktoolbar.cpp --- ktoolbar.cpp 13 Sep 2003 11:44:56 -0000 1.365 +++ ktoolbar.cpp 23 Sep 2003 08:36:02 -0000 @@ -1343,8 +1343,8 @@ void KToolBar::insertWidgetInternal( QWi connect( w, SIGNAL( destroyed() ), this, SLOT( widgetDestroyed() ) ); if ( index == -1 || index > (int)widgets.count() ) { - widgets.append( w ); index = (int)widgets.count(); + widgets.append( w ); } else widgets.insert( index, w );