Skip to content

Commit 8b9e0b6

Browse files
committedSep 18, 2015
make welcomepage proxy aware
1 parent 065bb10 commit 8b9e0b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎src/app/qgswelcomepage.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "qgisapp.h"
1919
#include "qgsversioninfo.h"
2020
#include "qgsapplication.h"
21+
#include "qgsnetworkaccessmanager.h"
2122

2223
#include <QHBoxLayout>
2324
#include <QVBoxLayout>
@@ -56,7 +57,9 @@ QgsWelcomePage::QgsWelcomePage( QWidget* parent )
5657
QLabel* whatsNewTitle = new QLabel( QString( "<h1>%1</h1>" ).arg( tr( "QGIS News" ) ) );
5758
whatsNewContainer->layout()->addWidget( whatsNewTitle );
5859

59-
QgsWebView* whatsNewPage = new QgsWebView();
60+
QgsWebView *whatsNewPage = new QgsWebView();
61+
whatsNewPage->page()->setNetworkAccessManager( QgsNetworkAccessManager::instance() );
62+
6063
whatsNewPage->setUrl( QUrl::fromLocalFile( QgsApplication::whatsNewFilePath() ) );
6164
whatsNewPage->page()->setLinkDelegationPolicy( QWebPage::DelegateAllLinks );
6265
whatsNewPage->setContextMenuPolicy( Qt::NoContextMenu );

0 commit comments

Comments
 (0)
Please sign in to comment.