plugin visibility system was added to trunk in https://trac.osgeo.org/qgis/changeset/15224

This commit is contained in:
mbernasocchi 2011-02-20 23:38:30 +01:00 committed by Pirmin Kalberer
parent 78097a7888
commit 6cf00e784e

View File

@ -82,6 +82,7 @@ GlobePlugin::GlobePlugin( QgisInterface* theQgisInterface )
mIsGlobeRunning = false;
//needed to be "seen" by other plugins by doing
//iface.mainWindow().findChild( QObject, "globePlugin" )
//needed until https://trac.osgeo.org/qgis/changeset/15224
this->setObjectName("globePlugin");
this->setParent(theQgisInterface->mainWindow());
}