on xenial help sign in
Add MirSurface::resize(QSize) to the mock impl
commit6960b652e5a6bb17b6113b960f34397981db0639 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateWed 19 Aug 2015, 09:40 (11 years ago) parent9c9dd48
1 file changed+2
tests/mocks/Unity/Application/MirSurface.h+2
tests/mocks/Unity/Application/MirSurface.h+2
@@ -50,6 +50,8 @@ public:
5050
5151 QSize size() const override { return QSize(width(),height()); }
5252 void resize(int width, int height) override;
53+ void resize(const QSize &size) override { resize(size.width(), size.height()); }
54+
5355
5456 Mir::State state() const override;
5557 void setState(Mir::State) override;