forked from qt-creator/qt-creator
Meson: Fix crash
Amends 4cbdd443fe. The captured pointer died too early.
Change-Id: I82433bee4ee41d913e1cf47db5c9b9446f501520
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -25,7 +25,7 @@ namespace MesonProjectManager::Internal {
|
||||
|
||||
void setupMesonActions(QObject *guard)
|
||||
{
|
||||
Action *buildTargetContextAction = nullptr;
|
||||
static Action *buildTargetContextAction = nullptr;
|
||||
|
||||
const Context projectContext{Constants::Project::ID};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user