Fix build without krunner

This commit is contained in:
Benjamin Port 2020-10-30 16:32:49 +01:00 committed by Benjamin Port
parent cfcf2baae7
commit 0faf282694

View file

@ -59,7 +59,10 @@
#include <KStartupInfo>
// Qt
#include <QtConcurrentRun>
#include <runners/windowsrunnerinterface.h>
#ifdef KF5Runner_FOUND
#include <runners/windowsrunnerinterface.h>
#endif
namespace KWin
{
@ -198,7 +201,9 @@ Workspace::Workspace()
});
new DBusInterface(this);
#ifdef KF5Runner_FOUND
new WindowsRunner(this);
#endif
Outline::create(this);
initShortcuts();