#165 - Add "file a bug" menu item
This commit is contained in:
@@ -40,6 +40,11 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
// Set up donate action
|
||||
QObject::connect(ui->actionDonate, &QAction::triggered, this, &MainWindow::donate);
|
||||
|
||||
// File a bug
|
||||
QObject::connect(ui->actionFile_a_bug, &QAction::triggered, [=]() {
|
||||
QDesktopServices::openUrl(QUrl("https://github.com/zcashfoundation/zecwallet/issues/new"));
|
||||
});
|
||||
|
||||
// Set up check for updates action
|
||||
QObject::connect(ui->actionCheck_for_Updates, &QAction::triggered, [=] () {
|
||||
// Silent is false, so show notification even if no update was found
|
||||
|
||||
@@ -359,8 +359,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>928</width>
|
||||
<height>353</height>
|
||||
<width>920</width>
|
||||
<height>324</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="sendToLayout">
|
||||
@@ -1045,7 +1045,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>968</width>
|
||||
<height>19</height>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFile">
|
||||
@@ -1069,6 +1069,7 @@
|
||||
</property>
|
||||
<addaction name="actionDonate"/>
|
||||
<addaction name="actionCheck_for_Updates"/>
|
||||
<addaction name="actionFile_a_bug"/>
|
||||
<addaction name="actionAbout"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuApps">
|
||||
@@ -1189,6 +1190,11 @@
|
||||
<string>Request zcash...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFile_a_bug">
|
||||
<property name="text">
|
||||
<string>File a bug...</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
|
||||
Reference in New Issue
Block a user