File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ void Heatmap::initGui()
7878 // Connect the action to the run
7979 connect ( mQActionPointer , SIGNAL ( triggered () ), this , SLOT ( run () ) );
8080 // Add the icon to the toolbar
81- mQGisIface ->addToolBarIcon ( mQActionPointer );
81+ mQGisIface ->addRasterToolBarIcon ( mQActionPointer );
8282 mQGisIface ->addPluginToRasterMenu ( tr ( " &Heatmap" ), mQActionPointer );
8383
8484}
@@ -108,8 +108,8 @@ void Heatmap::run()
108108void Heatmap::unload ()
109109{
110110 // remove the GUI
111- mQGisIface ->removePluginMenu ( " &Heatmap" , mQActionPointer );
112- mQGisIface ->removeToolBarIcon ( mQActionPointer );
111+ mQGisIface ->removePluginRasterMenu ( " &Heatmap" , mQActionPointer );
112+ mQGisIface ->removeRasterToolBarIcon ( mQActionPointer );
113113 delete mQActionPointer ;
114114}
115115
You can’t perform that action at this time.
0 commit comments