diff options
Diffstat (limited to 'src/rateapp.cpp')
-rw-r--r-- | src/rateapp.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/rateapp.cpp b/src/rateapp.cpp index ead9508..21d2f1c 100644 --- a/src/rateapp.cpp +++ b/src/rateapp.cpp @@ -116,3 +116,17 @@ void RateApp::reset() settings.setValue("app_launched_count",0); settings.setValue("app_install_time",QDateTime::currentSecsSinceEpoch()); } + +void RateApp::on_rateOnGithub_clicked() +{ + QDesktopServices::openUrl(QUrl("https://github.com/keshavbhatt/whatsie")); + this->reset(); + this->close(); +} + +void RateApp::on_donate_clicked() +{ + QDesktopServices::openUrl(QUrl("https://paypal.me/keshavnrj/5.00")); + this->reset(); + this->close(); +} |