From e96c7f95ef4aaed2b99409753d42b8c6a198754b Mon Sep 17 00:00:00 2001
From: Teo Mrnjavac <teo@kde.org>
Date: Fri, 24 Jun 2016 17:15:26 +0200
Subject: [PATCH] Improve debug output.

---
 src/modules/partition/gui/EditExistingPartitionDialog.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/partition/gui/EditExistingPartitionDialog.cpp b/src/modules/partition/gui/EditExistingPartitionDialog.cpp
index f9e3a7c416..2652567d2c 100644
--- a/src/modules/partition/gui/EditExistingPartitionDialog.cpp
+++ b/src/modules/partition/gui/EditExistingPartitionDialog.cpp
@@ -162,6 +162,11 @@ EditExistingPartitionDialog::applyChanges( PartitionCoreModule* core )
     bool partResizedMoved = newFirstSector != m_partition->firstSector() ||
                             newLastSector  != m_partition->lastSector();
 
+    cDebug() << "old boundaries:" << m_partition->firstSector()
+             << m_partition->lastSector() << m_partition->length();
+    cDebug() << "new boundaries:" << newFirstSector << newLastSector;
+    cDebug() << "dirty status:" << m_partitionSizeController->isDirty();
+
     FileSystem::Type fsType = FileSystem::Unknown;
     if ( m_ui->formatRadioButton->isChecked() )
     {
-- 
GitLab