summaryrefslogtreecommitdiff
path: root/src/about.cpp
diff options
context:
space:
mode:
authorLibravatar Mubashshir <[email protected]>2023-09-19 02:01:41 +0600
committerLibravatar Mubashshir <[email protected]>2023-09-19 02:01:41 +0600
commit36d10b4b6359b5cf3ff0e37f2330dfaf91cbf530 (patch)
treecad68505e3dcff4e8d37c5a6a052240d8a935efb /src/about.cpp
parent35d85d38d02d97e1c63729bb3301f46bb6f96728 (diff)
parent906ca7eb436dc9944d43f5b7f6ae7b44afc2a3e7 (diff)
downloadwhatsie-36d10b4b6359b5cf3ff0e37f2330dfaf91cbf530.tar.gz
whatsie-36d10b4b6359b5cf3ff0e37f2330dfaf91cbf530.zip
Update upstream source from tag 'upstream/4.14.1'
Update to upstream version '4.14.1' with Debian dir 267b96a979689ac47077c72b576cf79da29f8ff2
Diffstat (limited to 'src/about.cpp')
-rw-r--r--src/about.cpp17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/about.cpp b/src/about.cpp
index 81657e8..3c7f826 100644
--- a/src/about.cpp
+++ b/src/about.cpp
@@ -17,7 +17,7 @@ About::About(QWidget *parent) : QWidget(parent), ui(new Ui::About) {
appAuthorEmail = "[email protected]";
appAuthorLink = "http://ktechpit.com";
donateLink = "https://paypal.me/keshavnrj/5";
- moreAppsLink = "https://snapcraft.io/search?q=keshavnrj";
+ moreAppsLink = "https://snapcraft.io/publisher/keshavnrj";
appSourceCodeLink = "https://github.com/keshavbhatt/whatsie";
appRateLink = "snap://whatsie";
@@ -42,7 +42,7 @@ About::About(QWidget *parent) : QWidget(parent), ui(new Ui::About) {
ui->version->setText("Version: " + QApplication::applicationVersion());
- ui->debugInfoText->setHtml(utils::appDebugInfo());
+ ui->debugInfoText->setHtml(Utils::appDebugInfo());
ui->debugInfoText->hide();
@@ -92,14 +92,9 @@ void About::on_debugInfoButton_clicked() {
}
}
-void About::keyPressEvent(QKeyEvent *e)
-{
- if (e->key() == Qt::Key_Escape)
- this->close();
+void About::keyPressEvent(QKeyEvent *e) {
+ if (e->key() == Qt::Key_Escape)
+ this->close();
- QWidget::keyPressEvent(e);
-}
-
-void About::on_donate_2_clicked() {
- QDesktopServices::openUrl(QUrl("https://opencollective.com/whatsie"));
+ QWidget::keyPressEvent(e);
}