Revert "Improve debug output in PartitionBarsView."
This reverts commit 9e186190fc
.
This commit is contained in:
parent
59f0e9cc2d
commit
9d4a636a16
@ -22,7 +22,6 @@
|
|||||||
#include <core/ColorUtils.h>
|
#include <core/ColorUtils.h>
|
||||||
|
|
||||||
#include <kpmcore/core/device.h>
|
#include <kpmcore/core/device.h>
|
||||||
#include <kpmcore/core/partition.h>
|
|
||||||
|
|
||||||
#include <utils/CalamaresUtilsGui.h>
|
#include <utils/CalamaresUtilsGui.h>
|
||||||
#include <utils/Logger.h>
|
#include <utils/Logger.h>
|
||||||
@ -67,14 +66,7 @@ PartitionBarsView::PartitionBarsView( QWidget* parent )
|
|||||||
connect( this, &PartitionBarsView::clicked,
|
connect( this, &PartitionBarsView::clicked,
|
||||||
this, [=]( const QModelIndex& index )
|
this, [=]( const QModelIndex& index )
|
||||||
{
|
{
|
||||||
Partition* selectedPartition =
|
cDebug() << "Clicked row" << index.row();
|
||||||
(Partition *)( index.data( PartitionModel::PartitionPtrRole )
|
|
||||||
.value< void* >() );
|
|
||||||
cDebug() << "Clicked row" << index.row()
|
|
||||||
<< "\npath: " << selectedPartition->partitionPath()
|
|
||||||
<< "\nfirstSector:" << selectedPartition->firstSector()
|
|
||||||
<< "\nlastSector: " << selectedPartition->lastSector();
|
|
||||||
|
|
||||||
} );
|
} );
|
||||||
setMouseTracking( true );
|
setMouseTracking( true );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user