Small code style improvement

This commit is contained in:
Roman Gilg 2018-06-14 15:48:02 +02:00
parent 8593823f6c
commit ddb44b4383

View file

@ -143,13 +143,13 @@ MaximizeMode operator^(MaximizeMode m1, MaximizeMode m2)
enum class QuickTileFlag { enum class QuickTileFlag {
None = 0, None = 0,
Left = 1, Left = 1 << 0,
Right = 1 << 1, Right = 1 << 1,
Top = 1 << 2, Top = 1 << 2,
Bottom = 1 << 3, Bottom = 1 << 3,
Horizontal = Left | Right, Horizontal = Left | Right,
Vertical = Top | Bottom, Vertical = Top | Bottom,
Maximize = Left|Right|Top|Bottom Maximize = Left | Right | Top | Bottom,
}; };
Q_DECLARE_FLAGS(QuickTileMode, QuickTileFlag) Q_DECLARE_FLAGS(QuickTileMode, QuickTileFlag)