From 4700c604b1ce336d0cdcfedc1d34e786ebc41a07 Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Wed, 29 Apr 2015 14:54:08 +0200 Subject: [PATCH] Proxy: Register meta type #3170 --- src/libsync/clientproxy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsync/clientproxy.cpp b/src/libsync/clientproxy.cpp index 2900cfdbe..095d3489c 100644 --- a/src/libsync/clientproxy.cpp +++ b/src/libsync/clientproxy.cpp @@ -163,6 +163,7 @@ SystemProxyRunnable::SystemProxyRunnable(const QUrl &url) : QObject(), QRunnable void SystemProxyRunnable::run() { qDebug() << Q_FUNC_INFO << "Starting system proxy lookup"; + qRegisterMetaType("QNetworkProxy"); QList proxies = QNetworkProxyFactory::systemProxyForQuery(QNetworkProxyQuery(_url)); if (proxies.isEmpty()) {