#5657 Remove more C++11 enum qualifiers
This commit is contained in:
parent
b20d04d80c
commit
0dd0e65e2a
|
@ -39,7 +39,7 @@ ActivationDialog::~ActivationDialog()
|
||||||
|
|
||||||
void ActivationDialog::reject()
|
void ActivationDialog::reject()
|
||||||
{
|
{
|
||||||
if (m_subscriptionManager->activeLicense() == Edition::kUnregistered) {
|
if (m_subscriptionManager->activeLicense() == kUnregistered) {
|
||||||
CancelActivationDialog cancelActivationDialog(this);
|
CancelActivationDialog cancelActivationDialog(this);
|
||||||
if (QDialog::Accepted == cancelActivationDialog.exec()) {
|
if (QDialog::Accepted == cancelActivationDialog.exec()) {
|
||||||
m_subscriptionManager->skipActivation();
|
m_subscriptionManager->skipActivation();
|
||||||
|
@ -71,7 +71,7 @@ void ActivationDialog::accept()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_subscriptionManager->activeLicense() != Edition::kUnregistered) {
|
if (m_subscriptionManager->activeLicense() != kUnregistered) {
|
||||||
message.information(this, "Activated!",
|
message.information(this, "Activated!",
|
||||||
tr("Thanks for activating %1!").arg
|
tr("Thanks for activating %1!").arg
|
||||||
(getEditionName(m_subscriptionManager->activeLicense())));
|
(getEditionName(m_subscriptionManager->activeLicense())));
|
||||||
|
|
Loading…
Reference in New Issue