Skip to content
Commit 379e7016 authored by Heiko Becker's avatar Heiko Becker 🏃
Browse files

Fix clearing recent usage history

Summary:
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
displayed.

Test Plan:
Checked with kactivitymanagerd available/unavailable on dbus.
Successfully removed the history.

Reviewers: kde-utils-devel

Differential Revision: https://phabricator.kde.org/D5677
parent 40fe9015
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment