mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Limit the mac workaround to the Mac OS X platform
This commit is contained in:
parent
b8b064836c
commit
2d3ea59755
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace Mirall
|
|||
MirallAccessManager::MirallAccessManager(QObject* parent)
|
||||
: QNetworkAccessManager (parent)
|
||||
{
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) && defined(Q_OS_MAC)
|
||||
// FIXME Workaround http://stackoverflow.com/a/15707366/2941 https://bugreports.qt-project.org/browse/QTBUG-30434
|
||||
QNetworkProxy proxy = this->proxy();
|
||||
proxy.setHostName(" ");
|
||||
|
|
Loading…
Reference in a new issue