Typo fix
This commit is contained in:
parent
157f3e5535
commit
9fff9d6743
@ -91,9 +91,6 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
userHistoryPos = 0;
|
userHistoryPos = 0;
|
||||||
userHistory.append("");
|
userHistory.append("");
|
||||||
|
|
||||||
//Update serial ports
|
|
||||||
serialupdate();
|
|
||||||
|
|
||||||
//Register all the types
|
//Register all the types
|
||||||
qRegisterMetaType<TemperatureReadings>("TemperatureReadings");
|
qRegisterMetaType<TemperatureReadings>("TemperatureReadings");
|
||||||
qRegisterMetaType<SDProgress>("SDProgress");
|
qRegisterMetaType<SDProgress>("SDProgress");
|
||||||
@ -150,6 +147,9 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
sinceLastTemp->start();
|
sinceLastTemp->start();
|
||||||
sinceLastSDStatus->start();
|
sinceLastSDStatus->start();
|
||||||
|
|
||||||
|
//Update serial ports
|
||||||
|
serialupdate();
|
||||||
|
|
||||||
//Update recent files list
|
//Update recent files list
|
||||||
updateRecent();
|
updateRecent();
|
||||||
}
|
}
|
||||||
@ -612,7 +612,7 @@ void MainWindow::updateRecent()
|
|||||||
action->setText(str); //Set filepath as a title
|
action->setText(str); //Set filepath as a title
|
||||||
action->setObjectName(str); //Also set name to the path so we can get it later
|
action->setObjectName(str); //Also set name to the path so we can get it later
|
||||||
recentMenu->addAction(action); //Add action to the menu
|
recentMenu->addAction(action); //Add action to the menu
|
||||||
connect(action, &QAction::trigger, this, &MainWindow::recentClicked);
|
connect(action, &QAction::triggered, this, &MainWindow::recentClicked);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user