mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 21:46:03 +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;
|
||||
|
||||
};
|
||||
|
|
|
@ -26,4 +26,4 @@ public:
|
|||
void showMessage(const QString & title, const QString & message, MessageIcon icon = Information, int millisecondsTimeoutHint = 10000);
|
||||
};
|
||||
|
||||
#endif //SYSTRAY_H
|
||||
#endif //SYSTRAY_H
|
||||
|
|
Loading…
Reference in a new issue