@@ -1802,14 +1802,14 @@ void MainWindow::on_profileBox_currentIndexChanged(int index)
18021802
18031803 auto saveGames = m_OrganizerCore.gameFeatures ().gameFeature <LocalSavegames>();
18041804 if (saveGames != nullptr ) {
1805- if (saveGames->prepareProfile (m_OrganizerCore.currentProfile ())) {
1805+ if (saveGames->prepareProfile (m_OrganizerCore.currentProfile (). get () )) {
18061806 m_SavesTab->refreshSaveList ();
18071807 }
18081808 }
18091809
18101810 auto invalidation = m_OrganizerCore.gameFeatures ().gameFeature <BSAInvalidation>();
18111811 if (invalidation != nullptr ) {
1812- if (invalidation->prepareProfile (m_OrganizerCore.currentProfile ())) {
1812+ if (invalidation->prepareProfile (m_OrganizerCore.currentProfile (). get () )) {
18131813 QTimer::singleShot (5 , [this ] {
18141814 m_OrganizerCore.refresh ();
18151815 });
@@ -2048,7 +2048,8 @@ void MainWindow::checkBSAList()
20482048 ui->bsaList ->blockSignals (false );
20492049 });
20502050
2051- QStringList defaultArchives = archives->archives (m_OrganizerCore.currentProfile ());
2051+ QStringList defaultArchives =
2052+ archives->archives (m_OrganizerCore.currentProfile ().get ());
20522053
20532054 bool warning = false ;
20542055
@@ -2400,14 +2401,14 @@ void MainWindow::on_actionAdd_Profile_triggered()
24002401
24012402 auto saveGames = m_OrganizerCore.gameFeatures ().gameFeature <LocalSavegames>();
24022403 if (saveGames != nullptr ) {
2403- if (saveGames->prepareProfile (m_OrganizerCore.currentProfile ())) {
2404+ if (saveGames->prepareProfile (m_OrganizerCore.currentProfile (). get () )) {
24042405 m_SavesTab->refreshSaveList ();
24052406 }
24062407 }
24072408
24082409 auto invalidation = m_OrganizerCore.gameFeatures ().gameFeature <BSAInvalidation>();
24092410 if (invalidation != nullptr ) {
2410- if (invalidation->prepareProfile (m_OrganizerCore.currentProfile ())) {
2411+ if (invalidation->prepareProfile (m_OrganizerCore.currentProfile (). get () )) {
24112412 QTimer::singleShot (5 , [this ] {
24122413 m_OrganizerCore.refresh ();
24132414 });
0 commit comments