• Sebastian Kügler's avatar
    parent qaction in test · 1d37b92d
    Sebastian Kügler authored
    My compiler doesn't seem to like this constructor, it bails out with the
    following error:
    In member function ‘void GlobalShortcutsTest::testConsumedShift()’:
    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
globalshortcuts_test.cpp 3.34 KB