Commit 4aeb7748 authored by Adriaan de Groot's avatar Adriaan de Groot

[libcalamares] POD don't bother with const&

parent 177d6fe8
......@@ -271,7 +271,7 @@ CStringListModel::data( const QModelIndex& index, int role ) const
}
void
CStringListModel::setCurrentIndex( const int& index )
CStringListModel::setCurrentIndex( int index )
{
if ( ( index < 0 ) || ( index >= m_list.count() ) )
{
......
......@@ -156,7 +156,7 @@ public:
const CStringPair* item( int index ) const;
QHash< int, QByteArray > roleNames() const override;
void setCurrentIndex( const int& index );
void setCurrentIndex( int index );
int currentIndex() const;
void setList( CStringPairList );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment