Fix additional sonar issues
This commit is contained in:
parent
2083b66e8e
commit
8e96719480
3 changed files with 6 additions and 7 deletions
|
|
@ -61,7 +61,7 @@ LicenseManager::setSerialKey(SerialKey serialKey, bool acceptExpired)
|
|||
}
|
||||
|
||||
void
|
||||
LicenseManager::notifyUpdate(QString fromVersion, QString toVersion) {
|
||||
LicenseManager::notifyUpdate(QString fromVersion, QString toVersion) const {
|
||||
if ((fromVersion == "Unknown")
|
||||
&& (m_serialKey == SerialKey(kUnregistered))) {
|
||||
return;
|
||||
|
|
@ -118,7 +118,7 @@ LicenseManager::refresh()
|
|||
}
|
||||
|
||||
void
|
||||
LicenseManager::skipActivation()
|
||||
LicenseManager::skipActivation() const
|
||||
{
|
||||
notifyActivation ("skip:unknown");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@ public:
|
|||
Edition activeEdition() const;
|
||||
QString activeEditionName() const;
|
||||
SerialKey serialKey() const;
|
||||
void skipActivation();
|
||||
void notifyUpdate(QString fromVersion, QString toVersion);
|
||||
static QString getEditionName(Edition edition, bool trial = false);
|
||||
void skipActivation() const;
|
||||
void notifyUpdate(QString fromVersion, QString toVersion) const;
|
||||
static QString getEditionName(Edition edition, bool trial = false);
|
||||
void notifyActivation(QString identity) const;
|
||||
QString getLicenseNotice() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ public:
|
|||
static const std::string TRIAL;
|
||||
static const std::string TEMPORARY;
|
||||
|
||||
public:
|
||||
SerialKeyType();
|
||||
|
||||
void setKeyType(const std::string& Type);
|
||||
|
|
@ -34,7 +33,7 @@ public:
|
|||
bool isTemporary() const;
|
||||
bool isPermanent() const;
|
||||
|
||||
protected:
|
||||
private:
|
||||
bool m_isTrial = false;
|
||||
bool m_isTemporary = false;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue