Small code style improvement
This commit is contained in:
parent
8593823f6c
commit
ddb44b4383
1 changed files with 8 additions and 8 deletions
16
utils.h
16
utils.h
|
@ -142,14 +142,14 @@ 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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue