diff options
author | hjk <hjk@qt.io> | 2023-05-15 14:52:40 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-05-15 13:11:05 +0000 |
commit | ce7ee677d84850c087e0cef8f9d65470efac8f9e (patch) | |
tree | 121328bbe6c16155fa5e0fdc8f0521403cc47745 /src/plugins/git/gitplugin.cpp | |
parent | 1697ff874874def127daa83610f6d5ba190702d2 (diff) | |
download | qt-creator-ce7ee677d84850c087e0cef8f9d65470efac8f9e.tar.gz |
Vcs: Use PagedSettings for all plugin settings
Hopefully the last structural change for a while.
Settings lifetime is again tied to the plugin private.
Change-Id: I221e8b8baa69422306191b48a9f034ef5b1a0dc2
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
-rw-r--r-- | src/plugins/git/gitplugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index 0401eb835e..7443f0baa3 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -397,6 +397,7 @@ public: void onApplySettings(); + GitSettings setting; CommandLocator *m_commandLocator = nullptr; QAction *m_menuAction = nullptr; @@ -433,8 +434,6 @@ public: std::unique_ptr<BlameMark> m_blameMark; QMetaObject::Connection m_blameCursorPosConn; - GitSettingsPage settingPage; - GitGrep gitGrep{&m_gitClient}; VcsEditorFactory svnLogEditorFactory { |