diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2017-02-03 08:16:09 +0100 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2017-02-03 08:16:09 +0100 |
commit | bcae744b1bae2f5015cb3efdd0d2226150cd79e5 (patch) | |
tree | 872701745b36fbfbeb16dd1d59d485bc1e494dbd /src/basegui.h | |
parent | 634cd2063f449c5d38046de88a395af77e2c9ea5 (diff) |
New upstream version 17.2.0~ds0
Diffstat (limited to 'src/basegui.h')
-rw-r--r-- | src/basegui.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/basegui.h b/src/basegui.h index 195fd8b..2695496 100644 --- a/src/basegui.h +++ b/src/basegui.h @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net> + Copyright (C) 2006-2017 Ricardo Villalba <rvm@users.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -73,10 +73,14 @@ class UpdateChecker; class ShareWidget; #endif +#ifndef SHARE_WIDGET +#define DONATE_REMINDER +#endif + class BaseGui : public QMainWindow { - Q_OBJECT - + Q_OBJECT + public: BaseGui( QWidget* parent = 0, Qt::WindowFlags flags = 0 ); ~BaseGui(); @@ -125,8 +129,9 @@ public slots: virtual void helpFAQ(); virtual void helpCLOptions(); virtual void helpCheckUpdates(); -#ifdef SHARE_ACTIONS virtual void helpDonate(); +#ifndef SHARE_ACTIONS + void showHelpDonateDialog(bool * accepted = 0); #endif virtual void helpShowConfig(); virtual void helpAbout(); @@ -240,7 +245,7 @@ protected slots: void checkIfUpgraded(); #endif -#if defined(SHARE_ACTIONS) && !defined(SHARE_WIDGET) +#ifdef DONATE_REMINDER void checkReminder(); #endif @@ -569,9 +574,7 @@ protected: MyAction * updateYTAct; #endif MyAction * showConfigAct; -#ifdef SHARE_ACTIONS MyAction * donateAct; -#endif MyAction * aboutThisAct; #ifdef SHARE_MENU |