diff options
author | janrupf <werbung.janrupf@t-online.de> | 2019-06-23 14:54:17 +0200 |
---|---|---|
committer | janrupf <werbung.janrupf@t-online.de> | 2019-06-23 14:54:17 +0200 |
commit | b5a16935b75457ed3c34c0f83fe44310ad625cef (patch) | |
tree | 198cd12f05743115fe491af4a2e66c29f8cf245a /application/MainWindow.cpp | |
parent | 306b98edacab8d1ad819d1b66fa54789b3e0bdea (diff) | |
download | MultiMC-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.cpp | 4 |
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 ¤t, const QModelIndex & } } -void MainWindow::instanceAdded(QString id) +void MainWindow::instanceSelectRequest(QString id) { setSelectedInstanceById(id); } |