Skip to content

Commit 9873782

Browse files
committed
Add GUI_EXPORT and warning fix
1 parent 431b065 commit 9873782

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

src/gui/qgsattributeforminterface.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ QgsAttributeFormInterface::QgsAttributeFormInterface(QgsAttributeForm* form )
2525

2626
bool QgsAttributeFormInterface::acceptChanges( const QgsFeature& feature )
2727
{
28+
Q_UNUSED( feature )
2829
return true;
2930
}
3031

src/gui/qgsdial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <QPaintEvent>
44
#include <QSize>
55

6-
class QgsDial : public QDial
6+
class GUI_EXPORT QgsDial : public QDial
77
{
88
Q_OBJECT
99
public:

src/gui/qgsfeatureselectiondlg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class QgsGenericFeatureSelectionManager;
2020

2121
#include "ui_qgsfeatureselectiondlg.h"
2222

23-
class QgsFeatureSelectionDlg : public QDialog, private Ui::QgsFeatureSelectionDlg
23+
class GUI_EXPORT QgsFeatureSelectionDlg : public QDialog, private Ui::QgsFeatureSelectionDlg
2424
{
2525
Q_OBJECT
2626

src/gui/qgsrelationadddlg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class QgsVectorLayer;
88

9-
class QgsRelationAddDlg : public QDialog, private Ui::QgsRelationAddDlgBase
9+
class GUI_EXPORT QgsRelationAddDlg : public QDialog, private Ui::QgsRelationAddDlgBase
1010
{
1111
Q_OBJECT
1212

src/gui/qgsrelationeditor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class QgsGenericFeatureSelectionManager;
2828
class QgsVectorLayer;
2929
class QgsVectorLayerTools;
3030

31-
class QgsRelationEditorWidget : public QgsCollapsibleGroupBox, private Ui::QgsRelationEditorWidgetBase
31+
class GUI_EXPORT QgsRelationEditorWidget : public QgsCollapsibleGroupBox, private Ui::QgsRelationEditorWidgetBase
3232
{
3333
Q_OBJECT
3434

src/gui/qgsslider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <QSize>
44
#include <QSlider>
55

6-
class QgsSlider : public QSlider
6+
class GUI_EXPORT QgsSlider : public QSlider
77
{
88
Q_OBJECT
99
public:

0 commit comments

Comments
 (0)