buttons.append(b);
#else
(void)addToolBarAction(receiver, slot, iconName, title, true);
- (void)addMenuAction(title, receiver, slot);
#endif
}
#else
QAction *toolBarAction =
addToolBarAction(receiver, slot, iconName, title, true);
- // QAction *menuAction = addMenuAction(title, receiver, slot);
- // toolBarAction->setEnabled(false);
- // menuAction->setEnabled(false);
+ toolBarAction->setEnabled(false);
itemActions.append(toolBarAction);
- // itemActions.append(menuAction);
#endif
}