Reduce warnings about extra ;

- Trailing ; after Q_UNUSED
 - Trailing ; after CALAMARES_RETRANSLATE
This commit is contained in:
Adriaan de Groot 2019-04-17 11:57:46 +02:00
parent c83395ff6d
commit cef2f50510
18 changed files with 29 additions and 30 deletions

View file

@ -100,7 +100,7 @@ PartitionLabelsView::sizeHint() const
void
PartitionLabelsView::paintEvent( QPaintEvent* event )
{
Q_UNUSED( event );
Q_UNUSED( event )
QPainter painter( viewport() );
painter.fillRect( rect(), palette().window() );
@ -478,7 +478,7 @@ PartitionLabelsView::visualRect( const QModelIndex& idx ) const
QRegion
PartitionLabelsView::visualRegionForSelection( const QItemSelection& selection ) const
{
Q_UNUSED( selection );
Q_UNUSED( selection )
return QRegion();
}
@ -543,8 +543,8 @@ PartitionLabelsView::setExtendedPartitionHidden( bool hidden )
QModelIndex
PartitionLabelsView::moveCursor( CursorAction cursorAction, Qt::KeyboardModifiers modifiers )
{
Q_UNUSED( cursorAction );
Q_UNUSED( modifiers );
Q_UNUSED( cursorAction )
Q_UNUSED( modifiers )
return QModelIndex();
}
@ -553,7 +553,7 @@ PartitionLabelsView::moveCursor( CursorAction cursorAction, Qt::KeyboardModifier
bool
PartitionLabelsView::isIndexHidden( const QModelIndex& index ) const
{
Q_UNUSED( index );
Q_UNUSED( index )
return false;
}
@ -598,7 +598,7 @@ PartitionLabelsView::mouseMoveEvent( QMouseEvent* event )
void
PartitionLabelsView::leaveEvent( QEvent* event )
{
Q_UNUSED( event );
Q_UNUSED( event )
QGuiApplication::restoreOverrideCursor();
if ( m_hoveredIndex.isValid() )