Skip to content
Permalink
Browse files

put Topology Checker plugin into Vector menu

  • Loading branch information
alexbruy committed Mar 27, 2013
1 parent c2dcc72 commit aa6d22afa3e243416c0470c9e4677f713fafc361
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/plugins/topology/topol.cpp
@@ -78,8 +78,8 @@ void Topol::initGui()
// Connect the action to the run
connect( mQActionPointer, SIGNAL( triggered() ), this, SLOT( showOrHide() ) );
// Add the icon to the toolbar
mQGisIface->addToolBarIcon( mQActionPointer );
mQGisIface->addPluginToMenu( tr( "&Topol" ), mQActionPointer );
mQGisIface->addVectorToolBarIcon( mQActionPointer );
mQGisIface->addPluginToVectorMenu( tr( "&Topology Checker" ), mQActionPointer );
//run();
}
//method defined in interface
@@ -115,8 +115,8 @@ void Topol::run()
void Topol::unload()
{
// remove the GUI
mQGisIface->removePluginMenu( "&Topol", mQActionPointer );
mQGisIface->removeToolBarIcon( mQActionPointer );
mQGisIface->removePluginVectorMenu( "&Topology Checker", mQActionPointer );
mQGisIface->removeVectorToolBarIcon( mQActionPointer );
delete mQActionPointer;
}

0 comments on commit aa6d22a

Please sign in to comment.
You can’t perform that action at this time.