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

Moved Plugins to Tools Menu

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8088 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8d8915e0
......@@ -146,8 +146,9 @@ void Core::loadPlugins()
QStringList additionalPlugins = OpenFlipperSettings().value("PluginControl/AdditionalPlugins").toStringList();
// Output info about additional plugins
for ( int i = 0 ; i < additionalPlugins.size(); ++i)
for ( int i = 0 ; i < additionalPlugins.size(); ++i) {
emit log(LOGOUT,tr("Additional Plugin from file: %1").arg( additionalPlugins[i] ) );
}
// Prepend the additional Plugins to the plugin list
pluginlist = additionalPlugins << pluginlist;
......
......@@ -426,6 +426,16 @@ void CoreWidget::setupMenuBar()
toolsMenu_->addAction( stopVideoCaptureAction);
connect(stopVideoCaptureAction, SIGNAL(triggered()), this, SIGNAL(stopVideoCapture()) );
toolsMenu_->addSeparator();
//show plugins
QAction* AC_Plugins = new QAction(tr("Plugins"), this);
AC_Plugins->setStatusTip(tr("Show loaded plugins"));
AC_Plugins->setWhatsThis(tr("Show loaded plugins"));
AC_Plugins->setIcon(QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"network-connect.png"));
connect(AC_Plugins, SIGNAL(triggered()), this, SIGNAL(showPlugins()));
toolsMenu_->addAction(AC_Plugins);
// ======================================================================
// help Menu
......@@ -450,16 +460,6 @@ void CoreWidget::setupMenuBar()
helpMenu_->addSeparator();
//show plugins
QAction* AC_Plugins = new QAction(tr("Plugins"), this);
AC_Plugins->setStatusTip(tr("Show loaded plugins"));
AC_Plugins->setWhatsThis(tr("Show loaded plugins"));
AC_Plugins->setIcon(QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"network-connect.png"));
connect(AC_Plugins, SIGNAL(triggered()), this, SIGNAL(showPlugins()));
helpMenu_->addAction(AC_Plugins);
helpMenu_->addSeparator();
//About Action
QAction* AC_About = new QAction(tr("About"), this);
AC_About->setStatusTip(tr("About OpenFlipper"));
......
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