Skip to content
Browse files
fix build
  • Loading branch information
jef-n committed May 25, 2021
1 parent d2be872 commit c82ead37f5fa40d725ccc36ad09a3e07669216f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgssymbolbutton.h
@@ -18,6 +18,7 @@
#include "qgis_gui.h"
#include "qgis_sip.h"
#include "qgis.h"
#include "qgssymbol.h"

#include <QToolButton>
#include <QPointer>
@@ -29,7 +30,6 @@ class QgsExpressionContextGenerator;
class QgsPanelWidget;
class QgsMessageBar;
class QMimeData;
class QgsSymbol;

* \ingroup gui

1 comment on commit c82ead3


This comment has been minimized.

Copy link

@nyalldawson nyalldawson commented on c82ead3 May 25, 2021

Hey @jef-n a better fix here is to add a destructor to the class, defined in the .cpp file. That avoids the header include and works with the forward declaration only (so faster compilation)

Please sign in to comment.