diff --git a/src/defines.h b/src/defines.h
new file mode 100644
--- /dev/null
+++ b/src/defines.h
@@ -0,0 +1,20 @@
+/*
+ Copyright © 2016 Hasan Yavuz Özderya
+
+ This file is part of serialplot.
+
+ serialplot is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ serialplot is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with serialplot. If not, see .
+*/
+
+const char* BUG_REPORT_URL = "https://bitbucket.org/hyOzd/serialplot/issues/new";
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -25,6 +25,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -34,6 +35,7 @@
#include
#include "utils.h"
+#include "defines.h"
#include "version.h"
#if defined(Q_OS_WIN) && defined(QT_STATIC)
@@ -93,6 +95,9 @@ MainWindow::MainWindow(QWidget *parent)
QObject::connect(ui->actionHelpAbout, &QAction::triggered,
&aboutDialog, &QWidget::show);
+ QObject::connect(ui->actionReportBug, &QAction::triggered,
+ [](){QDesktopServices::openUrl(QUrl(BUG_REPORT_URL));});
+
QObject::connect(ui->actionExportCsv, &QAction::triggered,
this, &MainWindow::onExportCsv);
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -239,6 +239,7 @@
Help
+