1
0
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:
m_thread 2015-01-20 00:01:03 +01:00
parent fe404f1e33
commit e313d1ec67
4 changed files with 9 additions and 7 deletions

View File

@ -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();

View File

@ -35,8 +35,7 @@ namespace Ui {
class RebootDialog;
}
class RebootDialog : public QDialog
{
class RebootDialog : public QDialog {
Q_OBJECT
public:

View File

@ -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."));