From b1542f58224eb1a32d2b244269d72f86de26d728 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sun, 11 May 2025 16:02:33 -0400 Subject: [PATCH] Add missing template types --- src/log.cpp | 2 +- src/mainwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/log.cpp b/src/log.cpp index 75847372..200f4438 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -111,7 +111,7 @@ void updateLogDisplays(const QString &message, LogType type) { }; bool startTimer = false; - auto it = QMutableListIterator(Log::displays); + auto it = QMutableListIterator(Log::displays); while (it.hasNext()) { auto display = it.next(); if (!display.statusBar) { diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 15cb8210..cf6d226d 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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(porymapConfig.statusBarLogTypes.begin(), porymapConfig.statusBarLogTypes.end()); if (!logTypes.isEmpty()) { addLogStatusBar(this->statusBar(), logTypes); }