summaryrefslogtreecommitdiffstats
path: root/application/MainWindow.cpp
diff options
context:
space:
mode:
authorjanrupf <werbung.janrupf@t-online.de>2019-06-23 14:54:17 +0200
committerjanrupf <werbung.janrupf@t-online.de>2019-06-23 14:54:17 +0200
commitb5a16935b75457ed3c34c0f83fe44310ad625cef (patch)
tree198cd12f05743115fe491af4a2e66c29f8cf245a /application/MainWindow.cpp
parent306b98edacab8d1ad819d1b66fa54789b3e0bdea (diff)
downloadMultiMC-b5a16935b75457ed3c34c0f83fe44310ad625cef.tar
MultiMC-b5a16935b75457ed3c34c0f83fe44310ad625cef.tar.gz
MultiMC-b5a16935b75457ed3c34c0f83fe44310ad625cef.tar.lz
MultiMC-b5a16935b75457ed3c34c0f83fe44310ad625cef.tar.xz
MultiMC-b5a16935b75457ed3c34c0f83fe44310ad625cef.zip
NOISSUE Renaming for better understanding
Diffstat (limited to 'application/MainWindow.cpp')
-rw-r--r--application/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp
index ca98130e..a4ef4e51 100644
--- a/application/MainWindow.cpp
+++ b/application/MainWindow.cpp
@@ -703,7 +703,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow
connect(MMC->instances().get(), &InstanceList::dataIsInvalid, this, &MainWindow::selectionBad);
// handle newly added instances
- connect(MMC->instances().get(), &InstanceList::instanceAdded, this, &MainWindow::instanceAdded);
+ connect(MMC->instances().get(), &InstanceList::instanceSelectRequest, this, &MainWindow::instanceSelectRequest);
// When the global settings page closes, we want to know about it and update our state
connect(MMC, &MultiMC::globalSettingsClosed, this, &MainWindow::globalSettingsClosed);
@@ -1839,7 +1839,7 @@ void MainWindow::instanceChanged(const QModelIndex &current, const QModelIndex &
}
}
-void MainWindow::instanceAdded(QString id)
+void MainWindow::instanceSelectRequest(QString id)
{
setSelectedInstanceById(id);
}