Set hide to false when window is shown

This commit is contained in:
Jonas Kvinge
2020-10-05 19:08:09 +02:00
parent 8e21decb8d
commit 393a2e0ea0
2 changed files with 15 additions and 1 deletions

View File

@@ -114,8 +114,9 @@ class MainWindow : public QMainWindow, public PlatformInterface {
void CommandlineOptionsReceived(const CommandlineOptions &options);
protected:
void keyPressEvent(QKeyEvent *e) override;
void showEvent(QShowEvent *e) override;
void closeEvent(QCloseEvent *e) override;
void keyPressEvent(QKeyEvent *e) override;
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
bool nativeEvent(const QByteArray &eventType, void *message, qintptr *result) override;
#else