[partition] Drop superfluous debug logging
- While here, update copyright header
This commit is contained in:
parent
752a922bde
commit
7806ccbe72
@ -2,7 +2,7 @@
|
||||
*
|
||||
* Copyright 2014, Aurélien Gâteau <agateau@kde.org>
|
||||
* Copyright 2015-2016, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2018, Adriaan de Groot <groot@kde.org>
|
||||
* Copyright 2018-2019, Adriaan de Groot <groot@kde.org>
|
||||
* Copyright 2018, Andrius Štikonas <andrius@stikonas.eu>
|
||||
* Copyright 2018, Caio Jordão Carvalho <caiojcarvalho@gmail.com>
|
||||
* Copyright 2019, Collabora Ltd
|
||||
@ -512,7 +512,8 @@ findBootloader( const QAbstractItemModel* model, const QString& path )
|
||||
for ( int i = 0; i < model->rowCount(); ++i)
|
||||
{
|
||||
const auto index = model->index( i, 0, QModelIndex() );
|
||||
cDebug() << "FindBootLoader" << i << index.isValid() << model->itemData( index );
|
||||
if ( !index.isValid() )
|
||||
continue;
|
||||
QVariant var = model->data( index, BootLoaderModel::BootLoaderPathRole );
|
||||
if ( var.isValid() && var.toString() == path )
|
||||
return i;
|
||||
|
Loading…
Reference in New Issue
Block a user