aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/rightpane.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-03-21 14:10:15 +0100
committerEike Ziller <eike.ziller@qt.io>2019-03-22 07:47:49 +0000
commit0de515658812d62e4ef436fdb55e4e4c0f2a4100 (patch)
tree066cea80e66851129c897375b72de5aa1675a196 /src/plugins/coreplugin/rightpane.cpp
parent15f6ba38b67d0e5819aa121a9f5ea1ac77ab8e20 (diff)
Add RightPaneWidget::widget()
Not used here, but can be interesting for 3rdparties, makes the API symmetric and doesn't hurt. Change-Id: Ia497dd485ad6a325fe27955ad440d466b7d2c803 Fixes: QTCREATORBUG-22174 Reviewed-by: Shujaat Ali Khan <shujaat.eager@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/rightpane.cpp')
-rw-r--r--src/plugins/coreplugin/rightpane.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/rightpane.cpp b/src/plugins/coreplugin/rightpane.cpp
index e786051d04..403fe4b0c6 100644
--- a/src/plugins/coreplugin/rightpane.cpp
+++ b/src/plugins/coreplugin/rightpane.cpp
@@ -153,6 +153,11 @@ void RightPaneWidget::setWidget(QWidget *widget)
}
}
+QWidget *RightPaneWidget::widget() const
+{
+ return m_widget;
+}
+
int RightPaneWidget::storedWidth()
{
return m_width;