Fix warnings emitted by clang.

This commit is contained in:
Krzesimir Nowak 2013-07-30 14:53:42 +02:00
parent 9724e52f1b
commit 6543a01418
4 changed files with 4 additions and 4 deletions

View file

@ -85,7 +85,7 @@ private:
bool _hasFiles; // true if there is at least one file that is not ignored or removed
friend class CSyncRunScopeHelper;
friend struct CSyncRunScopeHelper;
};
}

View file

@ -26,7 +26,7 @@ FolderStatusModel::FolderStatusModel()
}
Qt::ItemFlags FolderStatusModel::flags ( const QModelIndex& )
Qt::ItemFlags FolderStatusModel::flags ( const QModelIndex& ) const
{
return Qt::ItemIsSelectable;
}

View file

@ -24,7 +24,7 @@ class FolderStatusModel : public QStandardItemModel
{
public:
FolderStatusModel();
virtual Qt::ItemFlags flags( const QModelIndex& );
virtual Qt::ItemFlags flags( const QModelIndex& ) const;
QVariant data(const QModelIndex &index, int role) const;
};