From 107d59c1737a1220b6f3c6f6421721b6c2292933 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 12 Jan 2019 20:24:56 -0600 Subject: [PATCH] Add a Community button. --- mainwindow.cpp | 6 ++++++ mainwindow.h | 2 ++ mainwindow.ui | 10 ++++++++++ 3 files changed, 18 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index da09f0d..c92dafd 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -53,6 +53,12 @@ void MainWindow::on_buttonLXQtConfigurationCenter_clicked() process->start(file); } +void MainWindow::on_buttonCommunity_clicked() +{ + QString contributeLink = "https://lubuntu.me/links/"; + QDesktopServices::openUrl(QUrl(contributeLink)); +} + void MainWindow::on_buttonContribute_clicked() { QString contributeLink = "https://phab.lubuntu.me/w/contributor-guide/"; diff --git a/mainwindow.h b/mainwindow.h index fa777d3..f9840f4 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -37,6 +37,8 @@ private slots: void on_buttonLXQtConfigurationCenter_clicked(); + void on_buttonCommunity_clicked(); + void on_buttonContribute_clicked(); void on_actionAbout_triggered(); diff --git a/mainwindow.ui b/mainwindow.ui index 8c9699f..4acb115 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -47,6 +47,16 @@ + + + + <html><head/><body><p>Want to talk with other Lubuntu users? Join the community!</p></body></html> + + + Lubuntu Community + + +