1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

OP-1453 - remember to schedule QNetworkReply for deletion once we're

done with the network response.
This commit is contained in:
dwillis 2014-08-24 21:30:49 +01:00
parent efeeb705b5
commit 6bb4843a22

View File

@ -155,6 +155,8 @@ void WelcomeMode::networkResponseReady(QNetworkReply* reply)
QString version(reply->readAll());
QString trimmedVersion = version.trimmed();
reply->deleteLater();
if(trimmedVersion != VersionInfo::tagOrHash8())
{
m_newVersionText = tr("(Update Available: %1) ").arg(trimmedVersion);