Skip to content

Commit 05b01c1

Browse files
committedSep 1, 2014
Fix crash in WMS GetLegendGraphics
1 parent fb7901c commit 05b01c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/wms/qgswmsprovider.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3069,7 +3069,7 @@ void QgsWmsProvider::getLegendGraphicReplyFinished()
30693069
mGetLegendGraphicReply->deleteLater();
30703070
QgsDebugMsg( QString( "redirected GetLegendGraphic: %1" ).arg( redirect.toString() ) );
30713071
mGetLegendGraphicReply = QgsNetworkAccessManager::instance()->get( request );
3072-
mIdentifyReply->setProperty( "eventLoop", QVariant::fromValue( qobject_cast<QObject *>( loop ) ) );
3072+
mGetLegendGraphicReply->setProperty( "eventLoop", QVariant::fromValue( qobject_cast<QObject *>( loop ) ) );
30733073

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

0 commit comments

Comments
 (0)
Please sign in to comment.