CMakePM: Include the last error/warning line from call stack

This was the first one reported by CMake, and we need to make sure it's
also included.

Change-Id: I5becfffc1afb35a4f69fd26d8563aa1ea6eaea60
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2023-10-05 17:42:25 +02:00
parent 224b409013
commit 9ab9c88e0a
2 changed files with 16 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ private:
QString function;
};
std::optional<QList<CallStackLine>> m_callStack;
CallStackLine m_errorOrWarningLine;
};
} // CMakeProjectManager