26.4.6
- Fixed a wrong settings path in portable mode when running as an AppImage
launched from a desktop file (or any context where the working directory differs
from the AppImage's directory):portableDataPath()was called before the
QApplicationobject was constructed, soqAppwasnullptrand the path fell
back to"."(the current working directory) instead of the AppImage's directory;
the function now directly reads the$APPIMAGEenvironment variable (always set by
the AppImage runtime) whenqAppis not yet available, and also accepts the
argv[0]path as a fallback for non-AppImage portable builds to ensure the
correct base directory is used in all cases (for #3542) - Trailing unbalanced brackets
(),{},[], and<>are now stripped from
bare URLs during both syntax highlighting and Ctrl+Click link opening in the
note text editor, so that URLs wrapped in parentheses or other bracket types
are detected correctly (for #2510) - Fixed a build failure on Debian 9.0 (Qt 5.7.1) caused by the use of
QNetworkRequest::RedirectPolicyAttributeand
QNetworkRequest::NoLessSafeRedirectPolicywhich were only introduced in
Qt 5.9; the call is now guarded with#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
(for #1254)