#5657 Remove more C++11 enum qualifiers

This commit is contained in:
Andrew Nelless 2016-10-15 16:07:05 +01:00
parent b20d04d80c
commit 0dd0e65e2a
1 changed files with 2 additions and 2 deletions

View File

@ -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())));