1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

OP-1628 Some smaller changes tryingto addressthe modal dialog issues in Qt...

This commit is contained in:
m_thread 2015-01-15 09:42:58 +01:00
parent fb9bcde440
commit 85fb2b41b6
3 changed files with 3 additions and 4 deletions

View File

@ -28,8 +28,8 @@
#include "rebootdialog.h"
#include "ui_rebootdialog.h"
RebootDialog::RebootDialog(UploaderGadgetWidget *uploader, QWidget *parent) :
QDialog(parent),
RebootDialog::RebootDialog(UploaderGadgetWidget *uploader) :
QDialog(uploader),
ui(new Ui::RebootDialog), m_uploader(uploader)
{
ui->setupUi(this);

View File

@ -40,7 +40,7 @@ class RebootDialog : public QDialog
Q_OBJECT
public:
explicit RebootDialog(UploaderGadgetWidget *uploader, QWidget *parent = 0);
explicit RebootDialog(UploaderGadgetWidget *uploader);
~RebootDialog();
signals:

View File

@ -1014,7 +1014,6 @@ void UploaderGadgetWidget::autoUpdateStatus(uploader::ProgressStep status, QVari
{
QString msg;
int remaining;
switch (status) {
case uploader::WAITING_DISCONNECT:
m_config->autoUpdateLabel->setText(tr("Waiting for all OpenPilot boards to be disconnected from USB."));