refactor: remove "auto" in window-size behavior

- "auto" is not essential for our hard fork, so i simply remove it.
- remove all useless code after removing it.
- enlarge the min size of window because previous may trigger bad layout when showing navigation view.
This commit is contained in:
2026-07-24 15:14:24 +08:00
parent b1d12cc406
commit b54cde2cbf
4 changed files with 3 additions and 42 deletions
-2
View File
@@ -17,9 +17,7 @@ public:
};
Q_ENUM(MouseWheelBehavior)
// TODO: I want to remove Auto behavior in future.
enum WindowSizeBehavior {
Auto,
Maximized,
Windowed,
};