summaryrefslogtreecommitdiffstats
path: root/Help/guide/importing-exporting/MathFunctionsComponents/MathFunctions.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-22 19:16:12 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-22 19:19:51 (GMT)
commitaf6cf586f63654f1c9d4e78b3acfafa2cfecae57 (patch)
treeca82ae11bbb94f1022770a00739c4bc219d53612 /Help/guide/importing-exporting/MathFunctionsComponents/MathFunctions.cxx
parentd421274e3e11a0e6480358faa8a8e5cf48d7b3c2 (diff)
downloadCMake-af6cf586f63654f1c9d4e78b3acfafa2cfecae57.zip
CMake-af6cf586f63654f1c9d4e78b3acfafa2cfecae57.tar.gz
CMake-af6cf586f63654f1c9d4e78b3acfafa2cfecae57.tar.bz2
cmake-gui: Fix crash when built with Qt 5.14 or later
In commit d7679f6427 (QCMakeCacheView: use non-deprecated List and Set constructions, 2020-06-10, v3.18.0-rc2~13^2) the conversion of the `this->properties()` value to QSet is incorrect for Qt 5.14+. The problem is that `this->properties()` returns by value, so the range `this->properties().begin(), this->properties().end()` provides iterators to two different instances. Use an intermediate temporary copy of the value to get a consistent iterator range. Fixes: #20981
Diffstat (limited to 'Help/guide/importing-exporting/MathFunctionsComponents/MathFunctions.cxx')
0 files changed, 0 insertions, 0 deletions