This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

#5629 Trigger main window show event before opening activation dialog

  • Loading branch information...
nlyan committed Oct 4, 2016
1 parent 15a6a27 commit 603b12dc59970eb56716e82d4b67063c80004e68
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/src/MainWindow.cpp
@@ -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();

0 comments on commit 603b12d

Please sign in to comment.