summaryrefslogtreecommitdiffstats
path: root/src/compositor
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-07-11 11:38:50 +0200
committerJohan Helsing <johan.helsing@qt.io>2016-07-13 08:46:16 +0000
commita172672484b9496819e588b51ac2ff9fb4a21941 (patch)
treeff5f2399be8b68b25d5c5c4162383d70b4ce04de /src/compositor
parentf15c3606672001b4582b42883a90b9bf260d867d (diff)
Fix clang compilation errors
Adds missing overrides and removes a private header generated by wayland-scanner from the public API. Change-Id: I53fc3f8bacca41821f0531aae02ca2a5da758e13 Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/compositor')
-rw-r--r--src/compositor/extensions/qwaylandwlshell.h2
-rw-r--r--src/compositor/extensions/qwaylandxdgshell.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor/extensions/qwaylandwlshell.h b/src/compositor/extensions/qwaylandwlshell.h
index 441c5452b..5bddd4f7b 100644
--- a/src/compositor/extensions/qwaylandwlshell.h
+++ b/src/compositor/extensions/qwaylandwlshell.h
@@ -152,7 +152,7 @@ Q_SIGNALS:
void setMaximized(QWaylandOutput *output);
private:
- void initialize();
+ void initialize() override;
};
QT_END_NAMESPACE
diff --git a/src/compositor/extensions/qwaylandxdgshell.h b/src/compositor/extensions/qwaylandxdgshell.h
index c01726ac6..c11ca1f3a 100644
--- a/src/compositor/extensions/qwaylandxdgshell.h
+++ b/src/compositor/extensions/qwaylandxdgshell.h
@@ -185,7 +185,7 @@ Q_SIGNALS:
void ackConfigure(uint serial);
private:
- void initialize();
+ void initialize() override;
QList<int> statesAsInts() const;
private Q_SLOTS:
@@ -221,7 +221,7 @@ Q_SIGNALS:
void parentSurfaceChanged();
private:
- void initialize();
+ void initialize() override;
};
QT_END_NAMESPACE