mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
OP-1628 Uncrustify
This commit is contained in:
parent
fe404f1e33
commit
e313d1ec67
@ -498,6 +498,7 @@ void SetupWizard::pageChanged(int currId)
|
||||
void SetupWizard::reboot() const
|
||||
{
|
||||
SetupWizard *wiz = const_cast<SetupWizard *>(this);
|
||||
|
||||
wiz->setWindowFlags(wiz->windowFlags() & ~Qt::WindowStaysOnTopHint);
|
||||
|
||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||
|
@ -35,8 +35,7 @@ namespace Ui {
|
||||
class RebootDialog;
|
||||
}
|
||||
|
||||
class RebootDialog : public QDialog
|
||||
{
|
||||
class RebootDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
@ -552,6 +552,7 @@ void UploaderGadgetWidget::systemEraseBoot()
|
||||
void UploaderGadgetWidget::rebootWithDialog()
|
||||
{
|
||||
RebootDialog dialog(this);
|
||||
|
||||
dialog.exec();
|
||||
}
|
||||
|
||||
@ -1014,6 +1015,7 @@ 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…
Reference in New Issue
Block a user