This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

#5707 Don't send update notifications for new users

  • Loading branch information...
nlyan committed Oct 28, 2016
1 parent 3e9815d commit 2f2dd7742f79bb60d943cb4ad6d9bfdf79873df1
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/gui/src/LicenseManager.cpp
@@ -72,6 +72,11 @@ LicenseManager::setSerialKey(QString serialKeyString, bool acceptExpired)
void
LicenseManager::notifyUpdate(QString fromVersion, QString toVersion) {
+ if ((fromVersion == "Unknown")
+ && (m_serialKey == SerialKey(kUnregistered))) {
+ return;
+ }
+
ActivationNotifier* notifier = new ActivationNotifier();
notifier->setUpdateInfo (fromVersion, toVersion,
QString::fromStdString(m_serialKey.toString()));

0 comments on commit 2f2dd77

Please sign in to comment.