summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakePresetItemModel.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmake-gui: Fix conversion warnings about Qt indexing typesBrad King2023-02-201-6/+11
| | | | | Qt 5 uses `int` for indexing, and Qt 6 uses `qsizetype`. Add helper types and casts to the appropriate type to avoid conversion warnings.
* cmake-gui: Support non-ASCII chars on Windows with Qt6Mehdi Chinoune2022-06-101-3/+3
| | | | | | | | | | Since commit baead1e2a8 (Encoding: Remove option to use ANSI code page internally, 2016-11-01, v3.8.0-rc1~358^2), we always use UTF-8 strings internally. Using fromLocal8Bit/toLocal8Bit + QTextCodec is no longer needed. Convert to fromStdString/toStdString instead, which should work both with Qt5 and Qt6. Fixes: #23565
* CMake GUI: Add presets functionalityKyle Edwards2020-10-051-0/+143