diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 15c112d..935a3bd 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -5,7 +5,7 @@ #include MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { - for (auto it = lookUpTable1.begin(); it != lookUpTable1.end(); ++it) { + for (auto it = lookUpTable1.constBegin(); it != lookUpTable1.constEnd(); ++it) { lookUpTable2.insert(it.value(), it.key()); }