branch | RCL_3 |
changeset 8 | 3f74d0d4af4c |
parent 5 | d3bac044e0f0 |
--- a/src/gui/widgets/qmainwindowlayout_mac.mm Mon Mar 15 12:43:09 2010 +0200 +++ b/src/gui/widgets/qmainwindowlayout_mac.mm Thu Apr 08 14:19:33 2010 +0300 @@ -463,6 +463,8 @@ NSToolbarItem *item = static_cast<NSToolbarItem *>(it.key()); [[qt_mac_window_for(layoutState.mainWindow->window()) toolbar] removeItemAtIndex:toolbarItemsCopy.indexOf(item)]; + unifiedToolbarHash.remove(item); + qtoolbarsInUnifiedToolbarList.removeAll(toolbar); #endif break; }