Skip to content
Snippets Groups Projects
Commit 55c69f66 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

WRG: unused argument, shadow variable

parent a740884c
No related branches found
No related tags found
No related merge requests found
......@@ -295,21 +295,21 @@ ListEditItemModel
/*****************************************************************************/
bool
ListEditItemModel
::insertRow( int row, const QModelIndex & parent )
::insertRow( int row, const QModelIndex & idxParent )
{
return insertRows( row, 1, parent );
return insertRows( row, 1, idxParent );
}
/*****************************************************************************/
bool
ListEditItemModel
::insertRows( int row, int count, const QModelIndex & parent )
::insertRows( int row, int count, const QModelIndex & idxParent )
{
// qDebug() << this << "::insertRows(" << row << "," << count << "," << parent << ")";
// qDebug() << this << "::insertRows(" << row << "," << count << "," << idxParent << ")";
assert( m_StringList!=nullptr );
beginInsertRows( parent, row, count );
beginInsertRows( idxParent, row, count );
{
for( int r=row; r<row+count; ++r )
m_StringList->Insert( "", r );
......
......@@ -194,7 +194,7 @@ void QtWidgetView::UnhandledException(QString message)
m_LogText->append(message);
}
void QtWidgetView::OnExceptionRaised(QString message)
void QtWidgetView::OnExceptionRaised(QString /*message*/)
{
m_TabWidget->setCurrentIndex(1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment