summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2020-10-26 21:39:13 +0100
committerGitHub <noreply@github.com>2020-10-26 21:39:13 +0100
commit61308ae2a6ed1123d3043659e72e300dc5c68cca (patch)
tree69976cb8870e1bffda3d149627123e1ecf24c654 /src/mainwindow.cpp
parent0ca5d2843e48169e58978439f9f6bc60c579efce (diff)
parentd42399e419fa6b769e343b8cf77480b6ac172b0f (diff)
Merge branch 'master' into imodlist-updates
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 85aa0df1..65c1d65c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1765,9 +1765,9 @@ void MainWindow::on_profileBox_currentIndexChanged(int index)
if (ui->profileBox->currentIndex() == 0) {
ui->profileBox->setCurrentIndex(previousIndex);
- ProfilesDialog(ui->profileBox->currentText(), m_OrganizerCore.managedGame(), this).exec();
+ ProfilesDialog(ui->profileBox->currentText(), m_OrganizerCore, this).exec();
while (!refreshProfiles()) {
- ProfilesDialog(ui->profileBox->currentText(), m_OrganizerCore.managedGame(), this).exec();
+ ProfilesDialog(ui->profileBox->currentText(), m_OrganizerCore, this).exec();
}
} else {
activateSelectedProfile();
@@ -2432,7 +2432,7 @@ void MainWindow::on_actionAdd_Profile_triggered()
{
for (;;) {
ProfilesDialog profilesDialog(m_OrganizerCore.currentProfile()->name(),
- m_OrganizerCore.managedGame(),
+ m_OrganizerCore,
this);
// workaround: need to disable monitoring of the saves directory, otherwise the active