autotests: Register Deleted in MoveResizeWindowTest
This commit is contained in:
parent
f395afb9a3
commit
fda225aa1d
1 changed files with 4 additions and 2 deletions
|
@ -29,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include "wayland_server.h"
|
#include "wayland_server.h"
|
||||||
#include "workspace.h"
|
#include "workspace.h"
|
||||||
#include "shell_client.h"
|
#include "shell_client.h"
|
||||||
|
#include "deleted.h"
|
||||||
|
|
||||||
#include <KWayland/Client/connection_thread.h>
|
#include <KWayland/Client/connection_thread.h>
|
||||||
#include <KWayland/Client/compositor.h>
|
#include <KWayland/Client/compositor.h>
|
||||||
|
@ -93,8 +94,9 @@ private:
|
||||||
|
|
||||||
void MoveResizeWindowTest::initTestCase()
|
void MoveResizeWindowTest::initTestCase()
|
||||||
{
|
{
|
||||||
qRegisterMetaType<KWin::ShellClient*>();
|
qRegisterMetaType<KWin::AbstractClient *>();
|
||||||
qRegisterMetaType<KWin::AbstractClient*>();
|
qRegisterMetaType<KWin::Deleted *>();
|
||||||
|
qRegisterMetaType<KWin::ShellClient *>();
|
||||||
qRegisterMetaType<KWin::MaximizeMode>("MaximizeMode");
|
qRegisterMetaType<KWin::MaximizeMode>("MaximizeMode");
|
||||||
QSignalSpy workspaceCreatedSpy(kwinApp(), &Application::workspaceCreated);
|
QSignalSpy workspaceCreatedSpy(kwinApp(), &Application::workspaceCreated);
|
||||||
QVERIFY(workspaceCreatedSpy.isValid());
|
QVERIFY(workspaceCreatedSpy.isValid());
|
||||||
|
|
Loading…
Reference in a new issue