mirror of
https://github.com/huderlem/porymap.git
synced 2026-10-01 12:26:37 -05:00
Add missing template types
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user