USE_DBUS still uses an hardcoded list of architectures, whereas there
is already WITH_QTDBUS defined in case the D-Bus support is available.
Followup of commit
6bdab62068c89b61796246508813ae63aa3ef872.
Gbp-Pq: Name upstream_Consistently-use-WITH_QTDBUS-instead-of-USE_DBUS.patch
~OpenFileManagerWindowJobPrivate() = default;
-#if USE_DBUS
+#ifdef WITH_QTDBUS
void createDBusStrategy()
{
strategy = std::make_unique<OpenFileManagerWindowDBusStrategy>(q);
#ifndef OPENFILEMANAGERWINDOWJOB_P_H
#define OPENFILEMANAGERWINDOWJOB_P_H
-#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
-#define USE_DBUS 1
-#else
-#define USE_DBUS 0
-#endif
-
#include <KJob>
namespace KIO
OpenFileManagerWindowJob *m_job;
};
-#if USE_DBUS
+#ifdef WITH_QTDBUS
class OpenFileManagerWindowDBusStrategy : public AbstractOpenFileManagerWindowStrategy
{
public: