mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
afa989e32c
commit
5d1f12438b
3 changed files with 9 additions and 9 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue