mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: Add Button and Link to 'Contribute' Page.
Add a button that opens the 'Contribute' page to the 'About' dialogue, to encourage more users to start to contribute. Requires https://github.com/subsurface/new-website/pull/36 to be deployed to have a valid link target. Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
parent
323dda672c
commit
1ce385b363
4 changed files with 17 additions and 2 deletions
|
@ -30,12 +30,17 @@ void SubsurfaceAbout::on_licenseButton_clicked()
|
|||
QDesktopServices::openUrl(QUrl("http://www.gnu.org/licenses/gpl-2.0.txt"));
|
||||
}
|
||||
|
||||
void SubsurfaceAbout::on_contributeButton_clicked()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("http://subsurface-divelog.org/contribute/"));
|
||||
}
|
||||
|
||||
void SubsurfaceAbout::on_websiteButton_clicked()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("http://subsurface-divelog.org"));
|
||||
QDesktopServices::openUrl(QUrl("http://subsurface-divelog.org/"));
|
||||
}
|
||||
|
||||
void SubsurfaceAbout::on_creditButton_clicked()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("http://subsurface-divelog.org/misc/credits"));
|
||||
QDesktopServices::openUrl(QUrl("http://subsurface-divelog.org/credits/"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue