Permalink
Browse files
#5707 Don't send update notifications for new users
- Loading branch information...
Showing
with
5 additions
and
0 deletions.
-
+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