mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
Reduce warnings about extra ;
- Trailing ; after Q_UNUSED - Trailing ; after CALAMARES_RETRANSLATE
This commit is contained in:
parent
c83395ff6d
commit
cef2f50510
18 changed files with 29 additions and 30 deletions
|
@ -540,7 +540,7 @@ void
|
|||
ChoicePage::doAlongsideSetupSplitter( const QModelIndex& current,
|
||||
const QModelIndex& previous )
|
||||
{
|
||||
Q_UNUSED( previous );
|
||||
Q_UNUSED( previous )
|
||||
if ( !current.isValid() )
|
||||
return;
|
||||
|
||||
|
@ -718,7 +718,7 @@ void
|
|||
ChoicePage::onPartitionToReplaceSelected( const QModelIndex& current,
|
||||
const QModelIndex& previous )
|
||||
{
|
||||
Q_UNUSED( previous );
|
||||
Q_UNUSED( previous )
|
||||
if ( !current.isValid() )
|
||||
return;
|
||||
|
||||
|
|
|
@ -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() )
|
||||
|
|
|
@ -286,7 +286,7 @@ PartitionSplitterWidget::minimumSizeHint() const
|
|||
void
|
||||
PartitionSplitterWidget::paintEvent( QPaintEvent* event )
|
||||
{
|
||||
Q_UNUSED( event );
|
||||
Q_UNUSED( event )
|
||||
|
||||
QPainter painter( this );
|
||||
painter.fillRect( rect(), palette().window() );
|
||||
|
@ -401,7 +401,7 @@ PartitionSplitterWidget::mouseMoveEvent( QMouseEvent* event )
|
|||
void
|
||||
PartitionSplitterWidget::mouseReleaseEvent( QMouseEvent* event )
|
||||
{
|
||||
Q_UNUSED( event );
|
||||
Q_UNUSED( event )
|
||||
|
||||
m_resizing = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue