diff options
Diffstat (limited to 'src/plugins/python/pythonrunconfiguration.cpp')
| -rw-r--r-- | src/plugins/python/pythonrunconfiguration.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/python/pythonrunconfiguration.cpp b/src/plugins/python/pythonrunconfiguration.cpp index 55c17efa9ab..d1dbac54de2 100644 --- a/src/plugins/python/pythonrunconfiguration.cpp +++ b/src/plugins/python/pythonrunconfiguration.cpp @@ -71,9 +71,10 @@ private: m_tasks.append({Task::Warning, text.trimmed(), {}, -1, category}); } else { Task &task = m_tasks.back(); - if (!task.summary.isEmpty()) - task.summary += ' '; - task.summary += text.trimmed(); + QString t = text.trimmed(); + if (!task.summary().isEmpty()) + t.prepend(' '); + task.addToSummary(t); } } else { // The actual exception. This ends the traceback. |
