Don't attempt to send shutdown which won't work anyway.

This commit is contained in:
Adam Treat 2023-04-29 11:07:14 -04:00
parent 869175bc06
commit cd41eb3280
2 changed files with 0 additions and 10 deletions

View File

@ -37,8 +37,6 @@ Network::Network()
sendIpify();
connect(&m_networkManager, &QNetworkAccessManager::sslErrors, this,
&Network::handleSslErrors);
connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, this,
&Network::sendShutdown);
}
void Network::setActive(bool b)
@ -210,13 +208,6 @@ void Network::sendStartup()
sendMixpanelEvent("startup");
}
void Network::sendShutdown()
{
if (!m_usageStatsActive)
return;
sendMixpanelEvent("shutdown");
}
void Network::sendCheckForUpdates()
{
if (!m_usageStatsActive)

View File

@ -33,7 +33,6 @@ public Q_SLOTS:
void sendModelLoaded();
void sendResetContext();
void sendStartup();
void sendShutdown();
void sendCheckForUpdates();
private Q_SLOTS: