ui: Enterlicense quit button
Quit button only for forced enterlicensewindow
This commit is contained in:
@@ -272,12 +272,11 @@ void QtMainWindow::forceEnterLicense()
|
|||||||
LOG_ERROR("No enter license window on top of stack");
|
LOG_ERROR("No enter license window on top of stack");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
enterLicenseWindow->clear();
|
enterLicenseWindow->clear();
|
||||||
enterLicenseWindow->setCancelAble(false);
|
|
||||||
|
|
||||||
this->setEnabled(false);
|
this->setEnabled(false);
|
||||||
enterLicenseWindow->setEnabled(true);
|
enterLicenseWindow->setEnabled(true);
|
||||||
|
enterLicenseWindow->setCloseVisible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QtMainWindow::event(QEvent* event)
|
bool QtMainWindow::event(QEvent* event)
|
||||||
@@ -341,6 +340,7 @@ void QtMainWindow::enterLicense()
|
|||||||
connect(enterLicenseWindow, SIGNAL(finished()), this, SLOT(activateWindow()));
|
connect(enterLicenseWindow, SIGNAL(finished()), this, SLOT(activateWindow()));
|
||||||
|
|
||||||
enterLicenseWindow->load();
|
enterLicenseWindow->load();
|
||||||
|
enterLicenseWindow->setCloseVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void QtMainWindow::showStartScreen()
|
void QtMainWindow::showStartScreen()
|
||||||
|
|||||||
Reference in New Issue
Block a user