Zeroing latestReleaseReply after deleteLater()

This commit is contained in:
Abs62 2013-06-11 08:08:25 +04:00
parent 57575fb4eb
commit fa4c0821eb

View file

@ -2570,6 +2570,7 @@ void MainWindow::checkForNewRelease()
{ {
if( latestReleaseReply ) if( latestReleaseReply )
latestReleaseReply->deleteLater(); latestReleaseReply->deleteLater();
latestReleaseReply = 0;
QNetworkRequest req( QNetworkRequest req(
QUrl( "http://goldendict.org/latest_release.php?current=" QUrl( "http://goldendict.org/latest_release.php?current="