From 0193892851bbb27a482b08557ba556b70d308e0d Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 21 Nov 2016 14:53:23 +0100 Subject: [PATCH] Initialise m_lastUsedArea to NULL --- qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp b/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp index 2dc2c0c5d..79c3d7812 100644 --- a/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp +++ b/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp @@ -68,6 +68,7 @@ ToolWindowManager::ToolWindowManager(QWidget *parent) : m_dropCurrentSuggestionIndex = 0; m_allowFloatingWindow = true; m_createCallback = NULL; + m_lastUsedArea = NULL; m_rectRubberBand = new QRubberBand(QRubberBand::Rectangle, this); m_lineRubberBand = new QRubberBand(QRubberBand::Line, this);