summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2022-06-28 08:02:36 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2022-06-28 08:17:41 +0200
commit0909a047b15982f9e39865f9d8058cd6d22b789d (patch)
tree4f38f3f7829577cac3cb8fa94ece17efb708ccfd /src/client
parentf89ece11fb411767276d9ae28e770c1f978627bc (diff)
downloadqtwayland-0909a047b15982f9e39865f9d8058cd6d22b789d.tar.gz
Remove unused variables
They appear to have been around and unused forever, but I've started getting warnings (-are-errors) about this. Pick-to: 6.4 6.3 6.2 5.15 Change-Id: I2f3006aa47de24927d7edd2d7f43cff78f965f87 Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'src/client')
-rw-r--r--src/client/qwaylanddatasource_p.h1
-rw-r--r--src/client/qwaylandprimaryselectionv1_p.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/client/qwaylanddatasource_p.h b/src/client/qwaylanddatasource_p.h
index 6e5befc0..0ce09a40 100644
--- a/src/client/qwaylanddatasource_p.h
+++ b/src/client/qwaylanddatasource_p.h
@@ -56,7 +56,6 @@ protected:
void data_source_action(uint32_t action) override;
private:
- QWaylandDisplay *m_display = nullptr;
QMimeData *m_mime_data = nullptr;
bool m_accepted = false;
Qt::DropAction m_dropAction = Qt::IgnoreAction;
diff --git a/src/client/qwaylandprimaryselectionv1_p.h b/src/client/qwaylandprimaryselectionv1_p.h
index d29cc979..59bb6211 100644
--- a/src/client/qwaylandprimaryselectionv1_p.h
+++ b/src/client/qwaylandprimaryselectionv1_p.h
@@ -77,7 +77,6 @@ protected:
void zwp_primary_selection_source_v1_cancelled() override { emit cancelled(); }
private:
- QWaylandDisplay *m_display = nullptr;
QMimeData *m_mimeData = nullptr;
};