Code cleanup

This commit is contained in:
radiomanV
2018-01-24 13:01:49 +02:00
parent a07b1504d3
commit 755f8604d7
2 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ MainWindow::MainWindow(QWidget *parent) :
connect(this, SIGNAL(reflash_status(bool)), this, SLOT(reflash_finished(bool)));
connect(this, SIGNAL(dump_status(QString)), this, SLOT(dump_finished(QString)));
connect(this, SIGNAL(update_progress(int)),ui->progressBar,SLOT(setValue(int)));
connect(timer,SIGNAL(timeout()),this,SLOT(on_timerUpdate()));
connect(timer,SIGNAL(timeout()),this,SLOT(TimerUpdate()));
connect(advdlg,SIGNAL(Refresh()),this,SLOT(Refresh()));
connect(advdlg,SIGNAL(WriteBootloader(Firmware::BootloaderType)),SLOT(WriteBootloader(Firmware::BootloaderType)));
@@ -153,7 +153,7 @@ void MainWindow::wait_ms(unsigned long time)
//Led blinking fired by timer event.
void MainWindow::on_timerUpdate()
void MainWindow::TimerUpdate()
{
if(ui->LedErase->property("blink").toBool())
setEled(!ui->LedErase->property("state").toBool());

View File

@@ -52,7 +52,7 @@ private slots:
void dump_finished(QString succes);
void DeviceChanged(bool arrived);
void gui_updated(QString message, bool eraseLed, bool writeLed);
void on_timerUpdate();
void TimerUpdate();
void Refresh();
void WriteBootloader(Firmware::BootloaderType type);