diff options
author | 2023-03-07 23:12:12 +0600 | |
---|---|---|
committer | 2023-03-07 23:12:12 +0600 | |
commit | 8130e7616ca9260b2bafd7cc1a0d066bfa442997 (patch) | |
tree | 196b6ca40e43c79299d781ebd767eb7e2ac65c8f /src/about.cpp | |
parent | b6fd8414a4387cac5c03d2a9e9529086acb484c9 (diff) | |
parent | 594d9515ac0bc0adf50ae288b85e31c10bd90d27 (diff) | |
download | whatsie-8130e7616ca9260b2bafd7cc1a0d066bfa442997.tar.gz whatsie-8130e7616ca9260b2bafd7cc1a0d066bfa442997.zip |
Update upstream source from tag 'upstream/4.12.1'
Update to upstream version '4.12.1'
with Debian dir 20fc3fb6707b619235ac02b06cb881c2422626d2
Diffstat (limited to 'src/about.cpp')
-rw-r--r-- | src/about.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/about.cpp b/src/about.cpp index ba54a7e..81657e8 100644 --- a/src/about.cpp +++ b/src/about.cpp @@ -92,6 +92,14 @@ void About::on_debugInfoButton_clicked() { } } +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")); } |