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:
parent
efeeb705b5
commit
6bb4843a22
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user