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:
parent
fb9bcde440
commit
85fb2b41b6
@ -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);
|
||||
|
@ -40,7 +40,7 @@ class RebootDialog : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit RebootDialog(UploaderGadgetWidget *uploader, QWidget *parent = 0);
|
||||
explicit RebootDialog(UploaderGadgetWidget *uploader);
|
||||
~RebootDialog();
|
||||
|
||||
signals:
|
||||
|
@ -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."));
|
||||
|
Loading…
x
Reference in New Issue
Block a user