diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-02-18 16:22:09 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-18 16:22:39 -0800 |
commit | d5ecc96ed64556bb1d90c567eb92f8a2ccf7ebb3 (patch) | |
tree | 4b4bbd0d83efefadae37225fb201fe9136c9e4ed | |
parent | 53d0eecb9433fa5a00123de3e1e8ac0d3abc502e (diff) | |
download | subsurface-d5ecc96ed64556bb1d90c567eb92f8a2ccf7ebb3.tar.gz |
About dialog: hook up Credits button
-rw-r--r-- | desktop-widgets/about.cpp | 5 | ||||
-rw-r--r-- | desktop-widgets/about.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/desktop-widgets/about.cpp b/desktop-widgets/about.cpp index 96a9f4f12..2d721fb12 100644 --- a/desktop-widgets/about.cpp +++ b/desktop-widgets/about.cpp @@ -38,3 +38,8 @@ void SubsurfaceAbout::on_websiteButton_clicked() { QDesktopServices::openUrl(QUrl("http://subsurface-divelog.org")); } + +void SubsurfaceAbout::on_creditButton_clicked() +{ + QDesktopServices::openUrl(QUrl("http://subsurface-divelog.org/misc/credits")); +} diff --git a/desktop-widgets/about.h b/desktop-widgets/about.h index 47423aea2..60d477f99 100644 --- a/desktop-widgets/about.h +++ b/desktop-widgets/about.h @@ -13,6 +13,7 @@ private slots: void on_licenseButton_clicked(); void on_websiteButton_clicked(); + void on_creditButton_clicked(); private: Ui::SubsurfaceAbout ui; |