summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@gmail.com>2016-09-06 10:04:12 +0200
committerPaul Olav Tvete <paul.tvete@qt.io>2016-09-08 13:26:25 +0000
commit7310fd4c925df7a3de0ae63e44ba0627228adc84 (patch)
treefd637e07f343f3e572cc2d1135042c26030b216f /tests
parentda61739728b2df7981b898da5dbdd4b74be068fc (diff)
Rename QWaylandView::attach() to bufferCommitted()
The old name was wrong on two counts: first of all, the function is called on wl_surface.commit, not attach. Secondly, the imperative tense made it look like a function that can be called by the user. Change-Id: Icd872d430062e67154bd50ca7d79881ea9874152 Reviewed-by: Johan Helsing <johan.helsing@qt.io> Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@hawaiios.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/compositor/compositor/tst_compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/compositor/compositor/tst_compositor.cpp b/tests/auto/compositor/compositor/tst_compositor.cpp
index ef076001b..d6c72b34c 100644
--- a/tests/auto/compositor/compositor/tst_compositor.cpp
+++ b/tests/auto/compositor/compositor/tst_compositor.cpp
@@ -253,7 +253,7 @@ void tst_WaylandCompositor::frameCallback()
class BufferView : public QWaylandView
{
public:
- void attach(const QWaylandBufferRef &ref, const QRegion &damage) Q_DECL_OVERRIDE
+ void bufferCommitted(const QWaylandBufferRef &ref, const QRegion &damage) Q_DECL_OVERRIDE
{
Q_UNUSED(damage);
bufferRef = ref;