Fix Qt5 nox build on non-Windows.

This commit is contained in:
sledgehammer999 2015-10-09 16:54:43 +03:00
commit a9f14a8408

View file

@ -62,13 +62,15 @@
#include <winbase.h> #include <winbase.h>
#endif #endif
#ifndef DISABLE_GUI
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) #if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
#ifndef DISABLE_GUI
#include <QDesktopServices> #include <QDesktopServices>
#endif
#else #else
#include <QStandardPaths> #include <QStandardPaths>
#endif #endif
#endif
using namespace libtorrent; using namespace libtorrent;