ui: Added cancel button to enter license window

This commit is contained in:
Eberhard Graether
2016-04-26 18:28:57 +02:00
parent 9a92422984
commit 3d2d434125
4 changed files with 24 additions and 6 deletions
+2 -2
View File
@@ -282,9 +282,10 @@ void QtMainWindow::forceEnterLicense(bool expired)
enterLicenseWindow->clear();
}
enterLicenseWindow->loadForced();
this->setEnabled(false);
enterLicenseWindow->setEnabled(true);
enterLicenseWindow->setCloseVisible(true);
}
bool QtMainWindow::event(QEvent* event)
@@ -348,7 +349,6 @@ void QtMainWindow::enterLicense()
connect(enterLicenseWindow, SIGNAL(finished()), this, SLOT(activateWindow()));
enterLicenseWindow->load();
enterLicenseWindow->setCloseVisible(false);
}
void QtMainWindow::showStartScreen()