mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-12 11:26:11 +08:00
#5707 Don't send update notifications for new users
This commit is contained in:
@@ -72,6 +72,11 @@ LicenseManager::setSerialKey(QString serialKeyString, bool acceptExpired)
|
|||||||
|
|
||||||
void
|
void
|
||||||
LicenseManager::notifyUpdate(QString fromVersion, QString toVersion) {
|
LicenseManager::notifyUpdate(QString fromVersion, QString toVersion) {
|
||||||
|
if ((fromVersion == "Unknown")
|
||||||
|
&& (m_serialKey == SerialKey(kUnregistered))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ActivationNotifier* notifier = new ActivationNotifier();
|
ActivationNotifier* notifier = new ActivationNotifier();
|
||||||
notifier->setUpdateInfo (fromVersion, toVersion,
|
notifier->setUpdateInfo (fromVersion, toVersion,
|
||||||
QString::fromStdString(m_serialKey.toString()));
|
QString::fromStdString(m_serialKey.toString()));
|
||||||
|
|||||||
Reference in New Issue
Block a user