#5629 Trigger main window show event before opening activation dialog
This commit is contained in:
parent
15a6a27dc6
commit
603b12dc59
|
@ -148,7 +148,8 @@ MainWindow::MainWindow(QSettings& settings, AppConfig& appConfig) :
|
|||
}
|
||||
|
||||
void
|
||||
MainWindow::showEvent(QShowEvent*) {
|
||||
MainWindow::showEvent(QShowEvent* event) {
|
||||
QMainWindow::showEvent (event);
|
||||
if (!m_AppConfig.activationHasRun() && (m_AppConfig.edition() == Unregistered)) {
|
||||
ActivationDialog activationDialog (this, m_AppConfig);
|
||||
activationDialog.exec();
|
||||
|
|
Loading…
Reference in New Issue