From 59fed8128267448ac06688c013bfb3365d88d410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=8D=9A=E6=96=87?= Date: Wed, 22 Jun 2016 11:12:49 +0800 Subject: [PATCH] fix new inserted item size error Change-Id: I9d3d48b65c9ab72ea87d0c753e372c157cb7eb9e --- frame/panel/mainpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/panel/mainpanel.cpp b/frame/panel/mainpanel.cpp index 22b82a8ad..1a61a416c 100644 --- a/frame/panel/mainpanel.cpp +++ b/frame/panel/mainpanel.cpp @@ -151,7 +151,7 @@ void MainPanel::itemInserted(const int index, DockItem *item) initItemConnection(item); m_itemLayout->insertWidget(index, item); - adjustSize(); + adjustItemSize(); } void MainPanel::itemRemoved(DockItem *item)