• Heiko Becker's avatar
    Fix clearing recent usage history · 379e7016
    Heiko Becker authored
    The old method is gone with Plasma 4. Instead we can use
    KActivitiesStats. Also, instead of checking at build time for
    Q_WS_X11 (gone with Qt4), look at dbus if kactivitymanagerd's
    service is registered to determine if the action should be
    Test Plan:
    Checked with kactivitymanagerd available/unavailable on dbus.
    Successfully removed the history.
    Reviewers: kde-utils-devel
    Differential Revision: https://phabricator.kde.org/D5677
CMakeLists.txt 1.94 KB