Replace typedef with using

This commit is contained in:
Jonas Kvinge
2022-10-13 22:39:31 +02:00
parent 61204e8d35
commit b22320c48f
62 changed files with 90 additions and 116 deletions

View File

@@ -81,10 +81,10 @@ class PrettySlider : public SliderSlider {
Q_OBJECT
public:
typedef enum {
using SliderMode = enum {
Normal, // Same behavior as Slider *unless* there's a moodbar
Pretty
} SliderMode;
};
explicit PrettySlider(const Qt::Orientation orientation, const SliderMode mode, QWidget *parent, const uint max = 0);