[Marble-commits] KDE/kdeedu/marble/src/plugins/network/qnam
Jens-Michael Hoffmann
jensmh at gmx.de
Thu Aug 20 00:44:32 CEST 2009
SVN commit 1013450 by jmhoffmann:
Add user agent also in QNAM network plugin.
M +1 -0 QNamDownloadJob.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/network/qnam/QNamDownloadJob.cpp #1013449:1013450
@@ -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