From d5ecc96ed64556bb1d90c567eb92f8a2ccf7ebb3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 18 Feb 2017 16:22:09 -0800 Subject: About dialog: hook up Credits button --- desktop-widgets/about.cpp | 5 +++++ desktop-widgets/about.h | 1 + 2 files changed, 6 insertions(+) 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; -- cgit v1.2.3-70-g09d2