Diffusion KWin 1d37b92d85c7

parent qaction in test

Authored by sebas on Sep 15 2016, 11:59 AM.

Description

parent qaction in test

Summary:
My compiler doesn't seem to like this constructor, it bails out with the
following error:

/home/sebas/kf5/src/kde/workspace/kwin/autotests/integration/globalshortcuts_test.cpp:
In member function ‘void GlobalShortcutsTest::testConsumedShift()’:
/home/sebas/kf5/src/kde/workspace/kwin/autotests/integration/globalshortcuts_test.cpp:79:40:
error: no matching function for call to ‘QAction::QAction()’

QScopedPointer<QAction> action(new QAction);
                                   ^~~~~~~

Using this as first argument fixes the build on my machine.

Test Plan: screenedges test fails, others pass. (this screenedges test failure seems unrelated)

Reviewers: graesslin

Reviewed By: graesslin

Subscribers: luebking, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D2782

Details

Committed
sebasSep 15 2016, 11:59 AM
Reviewer
graesslin
Differential Revision
D2782: parent qaction in test
Parents
R108:38a5933249dd: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown