Fix compilation without D-Bus support

Closes #8977
This commit is contained in:
sledgehammer999 2018-05-24 16:39:28 +03:00
parent 7c6a5afbff
commit 80e93e23f9
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -50,6 +50,7 @@
#include <QDir>
#include <QFileInfo>
#include <QProcess>
#include <QRegExp>
#include <QRegularExpression>
#include <QSysInfo>
#include <QUrl>
@ -60,12 +61,12 @@
#include <QApplication>
#include <QDesktopServices>
#include <QDesktopWidget>
#include <QProcess>
#include <QStyle>
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) && defined(QT_DBUS_LIB)
#include <QDBusInterface>
#include <QDBusMessage>
#include <QRegExp>
#endif
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
#include "base/utils/version.h"
#endif
#endif