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