summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonproject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/pythonproject.cpp')
-rw-r--r--src/plugins/python/pythonproject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp
index 70528b0c99..a255c5ab5c 100644
--- a/src/plugins/python/pythonproject.cpp
+++ b/src/plugins/python/pythonproject.cpp
@@ -476,7 +476,7 @@ PythonBuildSystem::PythonBuildSystem(Target *target)
: BuildSystem(target)
{
connect(target->project(), &Project::projectFileIsDirty, this, [this] { triggerParsing(); });
- QTimer::singleShot(0, this, &PythonBuildSystem::triggerParsing);
+ triggerParsing();
}
bool PythonBuildSystem::supportsAction(Node *context, ProjectAction action, const Node *node) const