mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Fix warnings emitted by clang.
This commit is contained in:
parent
9724e52f1b
commit
6543a01418
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ FolderStatusModel::FolderStatusModel()
|
|||
|
||||
}
|
||||
|
||||
Qt::ItemFlags FolderStatusModel::flags ( const QModelIndex& )
|
||||
Qt::ItemFlags FolderStatusModel::flags ( const QModelIndex& ) const
|
||||
{
|
||||
return Qt::ItemIsSelectable;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue