Core: Swap ICore and MainWindow "ownership"

Change-Id: Ibfa223da0f4d5195ae2f2783352346ca72b920bd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2023-09-15 14:53:59 +02:00
parent 8ba5174415
commit 61270e910f
7 changed files with 64 additions and 44 deletions

View File

@@ -23,6 +23,7 @@ namespace Core {
class FolderNavigationWidgetFactory;
class SessionManager;
class ICore;
namespace Internal {
@@ -74,7 +75,7 @@ private:
void checkSettings();
void warnAboutCrashReporing();
MainWindow *m_mainWindow = nullptr;
ICore *m_core = nullptr;
EditMode *m_editMode = nullptr;
Locator *m_locator = nullptr;
std::unique_ptr<SessionManager> m_sessionManager;