Remove unused fields

Detected by clang.
This commit is contained in:
Vlad Zahorodnii 2023-07-17 17:34:59 +03:00
parent 33e32f293b
commit 0ccce49fa2
6 changed files with 0 additions and 7 deletions

View file

@ -52,7 +52,6 @@ private:
void refreshSettings(); void refreshSettings();
KConfigWatcher::Ptr m_settingsWatcher; KConfigWatcher::Ptr m_settingsWatcher;
bool m_tabletModeAvailable = false;
bool m_isTabletMode = false; bool m_isTabletMode = false;
bool m_detecting = false; bool m_detecting = false;
ConfiguredMode m_configuredMode = ConfiguredMode::Auto; ConfiguredMode m_configuredMode = ConfiguredMode::Auto;

View file

@ -77,7 +77,6 @@ private:
void focusUpdate(Window *focusOld, Window *focusNow) override; void focusUpdate(Window *focusOld, Window *focusNow) override;
QSet<qint32> m_activeTouchPoints; QSet<qint32> m_activeTouchPoints;
bool m_inited = false;
qint32 m_decorationId = -1; qint32 m_decorationId = -1;
qint32 m_internalId = -1; qint32 m_internalId = -1;
QMetaObject::Connection m_focusGeometryConnection; QMetaObject::Connection m_focusGeometryConnection;

View file

@ -40,7 +40,6 @@ SurfaceInterface *XdgForeignV2Interface::transientFor(SurfaceInterface *surface)
XdgExporterV2Interface::XdgExporterV2Interface(Display *display, XdgForeignV2Interface *foreign) XdgExporterV2Interface::XdgExporterV2Interface(Display *display, XdgForeignV2Interface *foreign)
: QObject(foreign) : QObject(foreign)
, QtWaylandServer::zxdg_exporter_v2(*display, s_exporterVersion) , QtWaylandServer::zxdg_exporter_v2(*display, s_exporterVersion)
, m_foreign(foreign)
{ {
} }

View file

@ -42,7 +42,6 @@ protected:
void zxdg_exporter_v2_export_toplevel(Resource *resource, uint32_t id, wl_resource *surface) override; void zxdg_exporter_v2_export_toplevel(Resource *resource, uint32_t id, wl_resource *surface) override;
private: private:
XdgForeignV2Interface *m_foreign;
QHash<QString, XdgExportedV2Interface *> m_exportedSurfaces; QHash<QString, XdgExportedV2Interface *> m_exportedSurfaces;
}; };

View file

@ -161,7 +161,6 @@ bool WlSource::checkStartTransfer(xcb_selection_request_event_t *event)
X11Source::X11Source(Selection *selection, xcb_xfixes_selection_notify_event_t *event) X11Source::X11Source(Selection *selection, xcb_xfixes_selection_notify_event_t *event)
: SelectionSource(selection) : SelectionSource(selection)
, m_owner(event->owner)
{ {
setTimestamp(event->timestamp); setTimestamp(event->timestamp);
} }

View file

@ -139,8 +139,6 @@ Q_SIGNALS:
private: private:
void handleTargets(); void handleTargets();
xcb_window_t m_owner;
Mimes m_offers; Mimes m_offers;
Q_DISABLE_COPY(X11Source) Q_DISABLE_COPY(X11Source)