aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonkitaspect.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2024-10-04 17:35:23 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2024-10-04 15:46:48 +0000
commit1b47aaef2cb0343192ed0dbb740d2df507f8e722 (patch)
treecfbf2de5be67bee8f7d1752f89ab99190b311bf6 /src/plugins/python/pythonkitaspect.cpp
parent68371f55599957fcc90497038a2b4ca78b19f2ce (diff)
ProjectExplorer: Make KitAspect data members private
Change-Id: Ib80f092e19a00bb0159eef13a8e4e4237a4aaed4 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythonkitaspect.cpp')
-rw-r--r--src/plugins/python/pythonkitaspect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/pythonkitaspect.cpp b/src/plugins/python/pythonkitaspect.cpp
index f4fd0a0f976..8bdc557d946 100644
--- a/src/plugins/python/pythonkitaspect.cpp
+++ b/src/plugins/python/pythonkitaspect.cpp
@@ -40,7 +40,7 @@ public:
if (m_ignoreChanges.isLocked())
return;
- PythonKitAspect::setPython(m_kit, m_comboBox->currentData().toString());
+ PythonKitAspect::setPython(this->kit(), m_comboBox->currentData().toString());
});
connect(PythonSettings::instance(),
&PythonSettings::interpretersChanged,
@@ -62,7 +62,7 @@ public:
for (const Interpreter &interpreter : PythonSettings::interpreters())
m_comboBox->addItem(interpreter.name, interpreter.id);
- updateComboBox(PythonKitAspect::python(m_kit));
+ updateComboBox(PythonKitAspect::python(kit()));
emit changed(); // we need to emit changed here to update changes in the macro expander
}