https://bugs.kde.org/show_bug.cgi?id=523168

Martin Bednar <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kdev |https://invent.kde.org/kdev
                   |elop/kdevelop/-/commit/95ee |elop/kdevelop/-/commit/fdca
                   |ca07fd2666b5e3e905000624213 |5c81aec03d149f36705ac6ebd8e
                   |e31cf0fed                   |4e11712d4

--- Comment #2 from Martin Bednar <[email protected]> ---
Git commit fdca5c81aec03d149f36705ac6ebd8e4e11712d4 by Martin Bednár, on behalf
of Benjamin ROBIN.
Committed on 21/07/2026 at 10:43.
Pushed by bednar into branch 'release/26.08'.

custom-definesandincludes: when reading settings preserve includes order

When saving the include paths in doWriteSettings(), each include path is
saved into a configuration entry which key is the index serialized to
string.
When loading the include paths from doReadSettings(), the associated QMap
is retrieved, which by default sort by key. But since the key is not longer
an integer, but a string, then "10" is between "1" and "2".
So to preserve the order, when reading the settings, create a new temporary
QMap which key is an integer.
FIXED-IN: 6.5.260800
Pick-to: release/26.08

M  +9    -3   
plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp

https://invent.kde.org/kdevelop/kdevelop/-/commit/fdca5c81aec03d149f36705ac6ebd8e4e11712d4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to