Skip to content

Commit

Permalink
put Topology Checker plugin into Vector menu
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Mar 27, 2013
1 parent c2dcc72 commit aa6d22a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plugins/topology/topol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit aa6d22a

Please sign in to comment.