summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-10-24 20:54:22 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-10-24 20:54:22 +0200
commit8e591143a5fce58597a1597887b1730e24263224 (patch)
tree2314392a167e4cc1ca63207468130abfe8062e92 /src/mainwindow.cpp
parent52cfb8e8a7609c8b763652e1575a769dd5fe1b02 (diff)
Add IOrganizer::onProfileXXX callbacks.
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 3428d72a..18cc85f0 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