mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
Debug output.
This commit is contained in:
parent
7fce08459b
commit
99a5ac8e4d
1 changed files with 9 additions and 1 deletions
|
@ -413,7 +413,15 @@ void
|
||||||
PartitionBarsView::setSelection( const QRect& rect, QItemSelectionModel::SelectionFlags flags )
|
PartitionBarsView::setSelection( const QRect& rect, QItemSelectionModel::SelectionFlags flags )
|
||||||
{
|
{
|
||||||
selectionModel()->select( indexAt( rect.topLeft() ), flags );
|
selectionModel()->select( indexAt( rect.topLeft() ), flags );
|
||||||
cDebug() << "selected items:" << selectedIndexes();
|
cDebug() << "selected items count:" << selectedIndexes().count();
|
||||||
|
QStringList itemstrings;
|
||||||
|
foreach( const QModelIndex& ind, selectedIndexes() )
|
||||||
|
{
|
||||||
|
if ( ind.column() == 0 )
|
||||||
|
itemstrings.append( ind.data().toString() );
|
||||||
|
}
|
||||||
|
|
||||||
|
cDebug() << "selected items:\n" << itemstrings.join( "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue