add reportabug 1.0.2

This commit is contained in:
arcan1s
2014-07-31 19:59:55 +04:00
parent 78a4aeb0eb
commit 0aa162b71b
27 changed files with 4196 additions and 196 deletions

View File

@ -24,6 +24,7 @@
#include <QProcess>
#include <netctlgui/netctlgui.h>
#include <reportabug/reportabug.h>
#include "aboutwindow.h"
#include "bridgewidget.h"
@ -91,6 +92,7 @@ MainWindow::MainWindow(QWidget *parent,
aboutWin = new AboutWindow(this, debug);
errorWin = new ErrorWindow(this, debug);
netctlAutoWin = new NetctlAutoWindow(this, debug, configuration);
reportWin = new Reportabug(this, debug);
// profile widgets
generalWid = new GeneralWidget(this, configuration);
ui->scrollAreaWidgetContents->layout()->addWidget(generalWid);
@ -173,6 +175,7 @@ MainWindow::~MainWindow()
delete errorWin;
delete netctlAutoWin;
delete settingsWin;
delete reportWin;
delete ui;
}
@ -231,6 +234,7 @@ void MainWindow::createActions()
connect(ui->actionNetctlAuto, SIGNAL(triggered(bool)), netctlAutoWin, SLOT(showWindow()));
connect(ui->actionSettings, SIGNAL(triggered(bool)), settingsWin, SLOT(showWindow()));
connect(ui->actionQuit, SIGNAL(triggered(bool)), this, SLOT(close()));
connect(ui->actionReport, SIGNAL(triggered(bool)), reportWin, SLOT(showWindow()));
// actions menu
connect(ui->menuActions, SIGNAL(aboutToShow()), this, SLOT(updateMenu()));