From 7bf0fa25757dce26e5f0dfbebbddf156721e4703 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Mon, 22 Feb 2016 16:39:06 +0100 Subject: [PATCH] Get better debug information. --- src/modules/partition/gui/PartitionSplitterWidget.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/partition/gui/PartitionSplitterWidget.cpp b/src/modules/partition/gui/PartitionSplitterWidget.cpp index cbc726ac4..460738820 100644 --- a/src/modules/partition/gui/PartitionSplitterWidget.cpp +++ b/src/modules/partition/gui/PartitionSplitterWidget.cpp @@ -206,7 +206,6 @@ PartitionSplitterWidget::setSplitPartition( const QString& path, break; } } - repaint(); emit partitionResized( m_itemToResize->itemPath, m_itemToResize->size, @@ -215,6 +214,11 @@ PartitionSplitterWidget::setSplitPartition( const QString& path, cDebug() << "Items updated. Status:"; foreach ( const PartitionSplitterItem& item, m_items ) cDebug() << "item" << item.itemPath << "size" << item.size; + + cDebug() << "m_itemToResize: " << m_itemToResize << m_itemToResize->itemPath; + cDebug() << "m_itemToResizeNext:" << m_itemToResizeNext << m_itemToResizeNext->itemPath; + + repaint(); }