mirror of
https://github.com/radiomanV/TL866.git
synced 2026-03-10 02:07:05 +01:00
Code cleanup
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user