From b83092541b801ccd42378882d8dce3cd2f288c49 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 13 Jun 2017 18:14:19 +0100 Subject: [PATCH] Update toolwindowmanager to a37c60f --- .../3rdparty/toolwindowmanager/ToolWindowManagerTabBar.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManagerTabBar.cpp b/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManagerTabBar.cpp index 802322cea..e9656df41 100644 --- a/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManagerTabBar.cpp +++ b/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManagerTabBar.cpp @@ -211,6 +211,9 @@ void ToolWindowManagerTabBar::resizeEvent(QResizeEvent *event) { m_pin.rect = style()->subElementRect(QStyle::SE_DockWidgetFloatButton, &option, this); m_close.rect = style()->subElementRect(QStyle::SE_DockWidgetCloseButton, &option, this); + + // TODO - temporarily until this is implemented, hide the pin button. + m_pin.rect = QRect(); } void ToolWindowManagerTabBar::mousePressEvent(QMouseEvent *event) {