From: Flavio Date: Sat, 3 Mar 2012 14:20:07 +0000 (+0100) Subject: Fix for quitting on the Mac X-Git-Tag: 1.7.1~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=81652fea4f02062a91a5db3c14eccb6661c27f62;p=minitube Fix for quitting on the Mac --- 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);