Skip to content

Commit 8d458f6

Browse files
author
rblazek
committed
moc
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5115 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7d1010c commit 8d458f6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/gui/qgisiface.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,5 @@ QgisIface::app()
142142

143143
void QgisIface::emitCurrentLayerChanged ( QgsMapLayer * layer )
144144
{
145-
// Does not compile
146-
//emit currentLayerChanged ( layer );
145+
emit currentLayerChanged ( layer );
147146
}

src/gui/qgisiface.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ class QgsMapLayer;
3030
* Only those functions "exposed" by QgisIface can be called from within a
3131
* plugin.
3232
*/
33-
class QgisIface : public QgisInterface{
33+
class QgisIface : public QgisInterface
34+
{
35+
Q_OBJECT;
36+
3437
public:
3538
/**
3639
* Constructor.

0 commit comments

Comments
 (0)