Add missing template types

This commit is contained in:
GriffinR
2025-05-11 16:02:33 -04:00
parent aaf364248e
commit b1542f5822
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ void updateLogDisplays(const QString &message, LogType type) {
};
bool startTimer = false;
auto it = QMutableListIterator(Log::displays);
auto it = QMutableListIterator<Log::Display>(Log::displays);
while (it.hasNext()) {
auto display = it.next();
if (!display.statusBar) {

View File

@@ -240,7 +240,7 @@ void MainWindow::applyUserShortcuts() {
void MainWindow::initLogStatusBar() {
removeLogStatusBar(this->statusBar());
QSet logTypes = QSet(porymapConfig.statusBarLogTypes.begin(), porymapConfig.statusBarLogTypes.end());
auto logTypes = QSet<LogType>(porymapConfig.statusBarLogTypes.begin(), porymapConfig.statusBarLogTypes.end());
if (!logTypes.isEmpty()) {
addLogStatusBar(this->statusBar(), logTypes);
}