|
|
@ -56,6 +56,8 @@ MainWindow::MainWindow(QWidget *parent) : |
|
|
|
|
|
|
|
QObject::connect(ui->actionDiscord, &QAction::triggered, this, &MainWindow::discord); |
|
|
|
|
|
|
|
QObject::connect(ui->actionReportBug, &QAction::triggered, this, &MainWindow::reportbug); |
|
|
|
|
|
|
|
QObject::connect(ui->actionWebsite, &QAction::triggered, this, &MainWindow::website); |
|
|
|
|
|
|
|
// Set up check for updates action
|
|
|
@ -491,6 +493,11 @@ void MainWindow::discord() { |
|
|
|
QDesktopServices::openUrl(QUrl(url)); |
|
|
|
} |
|
|
|
|
|
|
|
void MainWindow::reportbug() { |
|
|
|
QString url = "https://github.com/MyHush/SilentDragon/issues/new"; |
|
|
|
QDesktopServices::openUrl(QUrl(url)); |
|
|
|
} |
|
|
|
|
|
|
|
void MainWindow::website() { |
|
|
|
QString url = "https://myhush.org"; |
|
|
|
QDesktopServices::openUrl(QUrl(url)); |
|
|
|