diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 93c8c7d..9cd7e34 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -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));
diff --git a/src/mainwindow.h b/src/mainwindow.h
index c4aafd8..9640d76 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -118,6 +118,7 @@ private:
void donate();
void website();
void discord();
+ void reportbug();
void addressBook();
void postToZBoard();
void importPrivKey();
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index c2685c3..54459ab 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -1511,6 +1511,7 @@
+