diff options
Diffstat (limited to 'src/qmmpui')
| -rw-r--r-- | src/qmmpui/uihelper.cpp | 3 | ||||
| -rw-r--r-- | src/qmmpui/uihelper.h | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/qmmpui/uihelper.cpp b/src/qmmpui/uihelper.cpp index 091586b80..8a39e19a6 100644 --- a/src/qmmpui/uihelper.cpp +++ b/src/qmmpui/uihelper.cpp @@ -224,7 +224,8 @@ void UiHelper::toggleVisibility() void UiHelper::exit() { - emit exitCalled(); + qApp->closeAllWindows(); + qApp->quit(); } UiHelper* UiHelper::instance() diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h index 9e2df2e8b..e727e8c8e 100644 --- a/src/qmmpui/uihelper.h +++ b/src/qmmpui/uihelper.h @@ -116,11 +116,6 @@ public slots: signals: /*! - * Emitted when some general plugin requires to exit. - * Use it to quit application. - */ - void exitCalled(); - /*! * Emitted when some general plugin requires to toggle visibility. * Use it to show/hide player's window. */ |
