We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d1010c commit 8d458f6Copy full SHA for 8d458f6
src/gui/qgisiface.cpp
@@ -142,6 +142,5 @@ QgisIface::app()
142
143
void QgisIface::emitCurrentLayerChanged ( QgsMapLayer * layer )
144
{
145
- // Does not compile
146
- //emit currentLayerChanged ( layer );
+ emit currentLayerChanged ( layer );
147
}
src/gui/qgisiface.h
@@ -30,7 +30,10 @@ class QgsMapLayer;
30
* Only those functions "exposed" by QgisIface can be called from within a
31
* plugin.
32
*/
33
-class QgisIface : public QgisInterface{
+class QgisIface : public QgisInterface
34
+{
35
+ Q_OBJECT;
36
+
37
public:
38
/**
39
* Constructor.
0 commit comments