Commit 452a565e authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Do not crash on some system when no proxy is set

parent 0ab8f1ed
......@@ -120,7 +120,9 @@ RSSFetcher::RSSFetcher(int maxItems, QObject *parent)
void RSSFetcher::fetch(const QUrl &url)
QList<QNetworkProxy> proxies = QNetworkProxyFactory::systemProxyForQuery(QNetworkProxyQuery(url));
if (proxies.count() > 0)
QString agentStr = QString("Qt-Creator/%1 (QHttp %2; %3; %4; %5 bit)")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment