diff --git a/src/qtui/main_window.cc b/src/qtui/main_window.cc index cee2476a2..c4188cef7 100644 --- a/src/qtui/main_window.cc +++ b/src/qtui/main_window.cc @@ -21,7 +21,6 @@ #include #include -#include #include #include @@ -39,7 +38,6 @@ #include #include #include -#include #include #include #include @@ -223,13 +221,6 @@ MainWindow::MainWindow() /* set initial keyboard focus on the playlist */ m_playlist_tabs->currentPlaylistWidget()->setFocus(Qt::OtherFocusReason); - -#ifdef Q_OS_MAC - QObject::connect(qGuiApp, &QGuiApplication::applicationStateChanged, this, [](auto state) { - if (state == Qt::ApplicationState::ApplicationActive) - aud_ui_show(true); - }); -#endif } MainWindow::~MainWindow()