[partition] Improve logging

This commit is contained in:
Adriaan de Groot 2019-03-30 06:36:51 -04:00
parent bd15cb5719
commit b03d72952b

View File

@ -512,7 +512,7 @@ findBootloader( const QAbstractItemModel* model, const QString& path )
for ( int i = 0; i < model->rowCount(); ++i)
{
const auto index = model->index( i, 0, QModelIndex() );
cDebug() << i << model->itemData( index );
cDebug() << "FindBootLoader" << i << index.isValid() << model->itemData( index );
QVariant var = model->data( index, BootLoaderModel::BootLoaderPathRole );
if ( var.isValid() && var.toString() == path )
return i;