mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 11:25:36 -04:00
[partition] Coding style
This commit is contained in:
parent
b41e4624c9
commit
010526ee2a
9 changed files with 33 additions and 33 deletions
|
@ -54,7 +54,7 @@ PartitionBarsView::PartitionBarsView( QWidget* parent )
|
|||
setSelectionMode( QAbstractItemView::SingleSelection );
|
||||
|
||||
// Debug
|
||||
connect( this, &PartitionBarsView::clicked, this, [=]( const QModelIndex& index ) {
|
||||
connect( this, &PartitionBarsView::clicked, this, [ = ]( const QModelIndex& index ) {
|
||||
cDebug() << "Clicked row" << index.row();
|
||||
} );
|
||||
setMouseTracking( true );
|
||||
|
@ -399,7 +399,7 @@ void
|
|||
PartitionBarsView::setSelectionModel( QItemSelectionModel* selectionModel )
|
||||
{
|
||||
QAbstractItemView::setSelectionModel( selectionModel );
|
||||
connect( selectionModel, &QItemSelectionModel::selectionChanged, this, [=] { viewport()->repaint(); } );
|
||||
connect( selectionModel, &QItemSelectionModel::selectionChanged, this, [ = ] { viewport()->repaint(); } );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue