summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-18 16:22:09 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-18 16:22:39 -0800
commitd5ecc96ed64556bb1d90c567eb92f8a2ccf7ebb3 (patch)
tree4b4bbd0d83efefadae37225fb201fe9136c9e4ed
parent53d0eecb9433fa5a00123de3e1e8ac0d3abc502e (diff)
downloadsubsurface-d5ecc96ed64556bb1d90c567eb92f8a2ccf7ebb3.tar.gz
About dialog: hook up Credits button
-rw-r--r--desktop-widgets/about.cpp5
-rw-r--r--desktop-widgets/about.h1
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;