Skip to content
Permalink
Browse files

Fix untranslatable strings: does not break translation

with a different language from english the plugin menus are
not removed. this commit fixes the problem.
  • Loading branch information
slarosa committed Sep 1, 2013
1 parent 30ea851 commit 63fa7e21540fa611cdda4f1f97e633bde43b2314
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/plugins/coordinate_capture/coordinatecapture.cpp
  2. +1 −1 src/plugins/topology/topol.cpp
@@ -260,7 +260,7 @@ void CoordinateCapture::showOrHide()
void CoordinateCapture::unload()
{
// remove the GUI
mQGisIface->removePluginVectorMenu( "&Coordinate Capture", mQActionPointer );
mQGisIface->removePluginVectorMenu( tr( "&Coordinate Capture" ), mQActionPointer );
mQGisIface->removeVectorToolBarIcon( mQActionPointer );
mpMapTool->deactivate();
delete mpMapTool;
@@ -115,7 +115,7 @@ void Topol::run()
void Topol::unload()
{
// remove the GUI
mQGisIface->removePluginVectorMenu( "&Topology Checker", mQActionPointer );
mQGisIface->removePluginVectorMenu( tr( "&Topology Checker" ), mQActionPointer );
mQGisIface->removeVectorToolBarIcon( mQActionPointer );
delete mQActionPointer;
}

0 comments on commit 63fa7e2

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