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
parent
38a59332
Please register or sign in to comment