You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Qt 6.9 compatibility: Replace qt_error_string() with enum mapping
The internal Qt function qt_error_string() was removed in Qt 6.9.
This commit replaces it with an idiomatic switch statement that maps
QFileDevice::FileError enum values to human-readable strings.
- Uses tr() for localization support
- Provides clear error messages (e.g., "Permissions error" vs error codes)
- Standard C++ approach when Qt enums aren't Q_ENUM-registered
- All FileError cases covered with default fallback
Tested with Qt 6.9.3 on macOS arm64.
0 commit comments