Commit a706d73d authored by Jakob Leben's avatar Jakob Leben

Qt: constify arguments

parent ce8732db
......@@ -875,7 +875,7 @@ void PLModel::search( const QString& search_text )
}
/*********** Popup *********/
void PLModel::popup( QModelIndex & index, QPoint &point, QModelIndexList list )
void PLModel::popup( const QModelIndex & index, const QPoint &point, const QModelIndexList &list )
{
int i_id = index.isValid() ? itemId( index ) : rootItem->i_id;
......
......@@ -87,7 +87,7 @@ public:
int itemId( const QModelIndex &index ) const;
/* Actions */
void popup( QModelIndex & index, QPoint &point, QModelIndexList list );
void popup( const QModelIndex & index, const QPoint &point, const QModelIndexList &list );
void doDelete( QModelIndexList selected );
void search( const QString& search_text );
void sort( int column, Qt::SortOrder order );
......
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