Fix rasters cannot be styled on OSX (fix #13162)

Add missing Q_OBJECT macro
This commit is contained in:
Nyall Dawson 2015-08-19 05:12:35 +10:00
parent 697d2af533
commit 9b9dbff13d
2 changed files with 3 additions and 0 deletions

View File

@ -359,6 +359,7 @@ SET(QGIS_GUI_MOC_HDRS
raster/qgssinglebandgrayrendererwidget.h
raster/qgssinglebandpseudocolorrendererwidget.h
raster/qgsrasterhistogramwidget.h
raster/qgsrasterrendererwidget.h
symbology-ng/characterwidget.h
symbology-ng/qgsbrushstylecombobox.h

View File

@ -27,6 +27,8 @@ class QgsRasterRenderer;
class GUI_EXPORT QgsRasterRendererWidget: public QWidget
{
Q_OBJECT
public:
QgsRasterRendererWidget( QgsRasterLayer* layer, const QgsRectangle &extent ):
mRasterLayer( layer )