[Marble-commits] branches/KDE/4.3/kdeedu/marble/src/plugins/network/qnam
Jens-Michael Hoffmann
jensmh at gmx.de
Thu Aug 20 00:50:50 CEST 2009
SVN commit 1013451 by jmhoffmann:
Backport fix from svn revision 1013450:
Add user agent also in QNAM network plugin.
M +1 -0 QNamDownloadJob.cpp
--- branches/KDE/4.3/kdeedu/marble/src/plugins/network/qnam/QNamDownloadJob.cpp #1013450:1013451
@@ -30,6 +30,7 @@
void QNamDownloadJob::execute()
{
QNetworkRequest request( sourceUrl() );
+ request.setRawHeader( "User-Agent", "Marble TinyWebBrowser" );
m_networkReply = m_networkAccessManager->get( request );
connect( m_networkReply, SIGNAL( downloadProgress( qint64, qint64 )),
More information about the Marble-commits
mailing list