diff --git a/sleepyhead/mainwindow.cpp b/sleepyhead/mainwindow.cpp
index e29f0042..30ef5d65 100644
--- a/sleepyhead/mainwindow.cpp
+++ b/sleepyhead/mainwindow.cpp
@@ -2790,3 +2790,11 @@ void MainWindow::on_mainsplitter_splitterMoved(int, int)
{
p_profile->appearance->setRightPanelWidth(ui->mainsplitter->sizes()[1]);
}
+
+#include "translation.h"
+void MainWindow::on_actionReport_a_Bug_triggered()
+{
+ QSettings settings(getDeveloperName(), getAppName());
+ QString language = settings.value(LangSetting).toString();
+ QDesktopServices::openUrl(QUrl(QString("http://sleepyhead.jedimark.net/report_bugs.php?lang=%1").arg(language)));
+}
diff --git a/sleepyhead/mainwindow.h b/sleepyhead/mainwindow.h
index db59a220..58130630 100644
--- a/sleepyhead/mainwindow.h
+++ b/sleepyhead/mainwindow.h
@@ -339,6 +339,8 @@ class MainWindow : public QMainWindow
void on_mainsplitter_splitterMoved(int pos, int index);
+ void on_actionReport_a_Bug_triggered();
+
private:
void importCPAPBackups();
void finishCPAPImport();
diff --git a/sleepyhead/mainwindow.ui b/sleepyhead/mainwindow.ui
index fc6ffba1..11b93dbf 100644
--- a/sleepyhead/mainwindow.ui
+++ b/sleepyhead/mainwindow.ui
@@ -1896,8 +1896,8 @@ border: 2px solid #56789a; border-radius: 30px;
0
0
- 100
- 30
+ 77
+ 236
@@ -3044,7 +3044,7 @@ border-radius: 10px;
0
0
- 76
+ 77
236
@@ -3176,6 +3176,8 @@ border-radius: 10px;
+
+