From 81652fea4f02062a91a5db3c14eccb6661c27f62 Mon Sep 17 00:00:00 2001 From: Flavio Date: Sat, 3 Mar 2012 15:20:07 +0100 Subject: [PATCH] Fix for quitting on the Mac --- src/MainWindow.cpp | 2 +- src/MainWindow.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index e005f8d..75c7411 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -1279,7 +1279,7 @@ void MainWindow::gotNewVersion(QString version) { updateChecker = 0; } -#if defined(APP_DEMO) || defined(APP_MAC_STORE) +#if defined(APP_DEMO) || defined(APP_MAC_STORE) || defined(APP_USC) return; #endif diff --git a/src/MainWindow.h b/src/MainWindow.h index cc6a7b2..d448870 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -30,6 +30,7 @@ public: public slots: void showMedia(SearchParams *params); void messageReceived(const QString &message); + void quit(); protected: void changeEvent(QEvent *); @@ -47,7 +48,6 @@ private slots: void visitSite(); void donate(); void about(); - void quit(); void fullscreen(); void updateUIForFullscreen(); void compactView(bool enable); -- 2.39.5