Commit 7d18c52e authored by Dirk Wilden's avatar Dirk Wilden

updated viewMode Interface to allow setting of viewmodes

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9948 383ad7c9-94d9-4d36-a494-682f7c89f535
parent dbaddd06
......@@ -740,9 +740,12 @@ void Core::loadPlugin(QString filename, bool silent, QObject* _plugin){
if ( checkSignal(plugin, "defineViewModeIcon(QString,QString)"))
connect(plugin, SIGNAL( defineViewModeIcon(QString, QString) ),
coreWidget_, SLOT( slotSetViewModeIcon(QString, QString) ),Qt::DirectConnection );
}
coreWidget_, SLOT( slotSetViewModeIcon(QString, QString) ),Qt::DirectConnection );
if ( checkSignal(plugin, "setViewMode(QString,bool)"))
connect(plugin, SIGNAL( setViewMode(QString, bool) ),
coreWidget_, SLOT( setViewMode(QString, bool) ),Qt::DirectConnection );
}
//Check if the plugin supports Options-Interface
OptionsInterface* optionsPlugin = qobject_cast< OptionsInterface * >(plugin);
......
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