cleanup: remove 'const constexpr' pairs

'constexpr' implies 'const' since it is a stronger guarantee,
so let's remove the redundant 'const'.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-12-16 22:17:47 +01:00 committed by Dirk Hohndel
parent afa989e32c
commit 5d1f12438b
3 changed files with 9 additions and 9 deletions

View file

@ -20,10 +20,10 @@ public:
// Returns index of selected item
int update(const StatsState::ChartList &charts);
static const constexpr int ChartNameRole = Qt::UserRole + 1;
static const constexpr int IsHeaderRole = Qt::UserRole + 2;
static const constexpr int IconRole = Qt::UserRole + 3;
static const constexpr int IconSizeRole = Qt::UserRole + 4;
static constexpr int ChartNameRole = Qt::UserRole + 1;
static constexpr int IsHeaderRole = Qt::UserRole + 2;
static constexpr int IconRole = Qt::UserRole + 3;
static constexpr int IconSizeRole = Qt::UserRole + 4;
Q_PROPERTY(int count READ rowCount NOTIFY countChanged)