From 23c21074afa3b8f90bff704031bb27e1d99bf7ba Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Sun, 14 Jun 2015 00:45:38 +0200 Subject: [PATCH] Initialize all the things in PartitionSplitterWidget. --- src/modules/partition/gui/PartitionSplitterWidget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/partition/gui/PartitionSplitterWidget.cpp b/src/modules/partition/gui/PartitionSplitterWidget.cpp index bdac40ba1..d60fef12d 100644 --- a/src/modules/partition/gui/PartitionSplitterWidget.cpp +++ b/src/modules/partition/gui/PartitionSplitterWidget.cpp @@ -36,6 +36,10 @@ PartitionSplitterWidget::PartitionSplitterWidget( QWidget* parent ) , m_resizing( false ) , m_itemToResize( nullptr ) , m_itemToResizeNext( nullptr ) + , m_itemMinSize( 0 ) + , m_itemMaxSize( 0 ) + , m_itemPrefSize( 0 ) + , m_resizeHandleX( 0 ) , HANDLE_SNAP( QApplication::startDragDistance() ) { setMouseTracking( true );