Commit cb853f86 authored by Jan Möbius's avatar Jan Möbius

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5250 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 511dd430
......@@ -81,7 +81,7 @@ void ColorPlugin::pluginsInitialized()
QIcon icon;
icon.addFile(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"format-stroke-color.png");
colorMenu->setIcon(icon);
emit addMenu( colorMenu, VIEWMENU );
emit addMenubarAction(colorMenu->menuAction(), VIEWMENU );
// =============================================================================
// Add Menu entries
......
......@@ -68,7 +68,7 @@ Q_INTERFACES(INIInterface)
void scriptInfo( QString _functionName );
// MenuInterface
void addMenu(QMenu* _menu, MenuType _type);
void addMenubarAction(QAction* _action, MenuActionType _type );
// ToolbarInterface
void addToolbar(QToolBar* _toolbar);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment