diff options
| author | 2023-03-07 23:12:03 +0600 | |
|---|---|---|
| committer | 2023-03-07 23:12:03 +0600 | |
| commit | 594d9515ac0bc0adf50ae288b85e31c10bd90d27 (patch) | |
| tree | 1e583e74017f99f48179235ec1e927e8d17bf7a4 /src/about.cpp | |
| parent | d830bfc8ce7c6763d074beafdde7cab1835d31f9 (diff) | |
| download | whatsie-upstream/4.12.1.tar.gz whatsie-upstream/4.12.1.zip | |
New upstream version 4.12.1upstream/4.12.1
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")); } |
