Add explicit

This commit is contained in:
Jonas Kvinge
2020-04-07 16:49:15 +02:00
parent 3efc496c41
commit 21b2193cd0
199 changed files with 337 additions and 342 deletions

View File

@@ -32,12 +32,12 @@ class QEvent;
// This helper class forces the mode back to ScrollPerPixel.
class ForceScrollPerPixel : public QObject {
public:
ForceScrollPerPixel(QAbstractItemView *item_view, QObject *parent = nullptr);
explicit ForceScrollPerPixel(QAbstractItemView *item_view, QObject *parent = nullptr);
protected:
protected:
bool eventFilter(QObject *object, QEvent *event);
private:
private:
QAbstractItemView *item_view_;
};