Skip to content
Permalink
Browse files

Fix crash in WMS GetLegendGraphics

  • Loading branch information
wonder-sk committed Aug 6, 2014
1 parent fb7901c commit 05b01c115e465bbdb096165b30bb11cfacf7be43
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/wms/qgswmsprovider.cpp
@@ -3069,7 +3069,7 @@ void QgsWmsProvider::getLegendGraphicReplyFinished()
mGetLegendGraphicReply->deleteLater();
QgsDebugMsg( QString( "redirected GetLegendGraphic: %1" ).arg( redirect.toString() ) );
mGetLegendGraphicReply = QgsNetworkAccessManager::instance()->get( request );
mIdentifyReply->setProperty( "eventLoop", QVariant::fromValue( qobject_cast<QObject *>( loop ) ) );
mGetLegendGraphicReply->setProperty( "eventLoop", QVariant::fromValue( qobject_cast<QObject *>( loop ) ) );

connect( mGetLegendGraphicReply, SIGNAL( finished() ), this, SLOT( getLegendGraphicReplyFinished() ) );
connect( mGetLegendGraphicReply, SIGNAL( downloadProgress( qint64, qint64 ) ), this, SLOT( getLegendGraphicReplyProgress( qint64, qint64 ) ) );

0 comments on commit 05b01c1

Please sign in to comment.
You can’t perform that action at this time.