mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 06:31:50 +08:00
#5629 Trigger main window show event before opening activation dialog
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user