Skip to content

Commit 18dbf03

Browse files
committed
Fix build warnings due to differing virtual method signatures
1 parent 63d0317 commit 18dbf03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/dwg/qgsdwgimporter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class QgsDwgImporter : public DRW_Interface
5757

5858
void addBlock( const DRW_Block &data ) override;
5959

60-
void setBlock( int handle ) override;
60+
void setBlock( const int handle ) override;
6161

6262
//! Called to end the current block
6363
void endBlock() override;

src/app/qgsattributesformproperties.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class DnDTree : public QTreeWidget
268268
// QTreeWidget interface
269269
protected:
270270
QStringList mimeTypes() const override;
271-
QMimeData *mimeData( QList<QTreeWidgetItem *> items ) const override;
271+
QMimeData *mimeData( const QList<QTreeWidgetItem *> items ) const override;
272272

273273

274274
private slots:

0 commit comments

Comments
 (0)