ui: Enterlicense quit button

Quit button only for forced enterlicensewindow
This commit is contained in:
Andreas Stallinger
2016-04-18 11:08:44 +02:00
parent 530e20ede6
commit 298fd6cf3e
+2 -2
View File
@@ -272,12 +272,11 @@ void QtMainWindow::forceEnterLicense()
LOG_ERROR("No enter license window on top of stack");
return;
}
enterLicenseWindow->clear();
enterLicenseWindow->setCancelAble(false);
this->setEnabled(false);
enterLicenseWindow->setEnabled(true);
enterLicenseWindow->setCloseVisible(true);
}
bool QtMainWindow::event(QEvent* event)
@@ -341,6 +340,7 @@ void QtMainWindow::enterLicense()
connect(enterLicenseWindow, SIGNAL(finished()), this, SLOT(activateWindow()));
enterLicenseWindow->load();
enterLicenseWindow->setCloseVisible(false);
}
void QtMainWindow::showStartScreen()