Rolf Eike Beer
2018-11-17 09:08:23 UTC
dakon created this revision.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
dakon requested review of this revision.
REVISION SUMMARY
QString::mid() will create a new string, but this code path will never use the
old variable again. So simply modify the original copy instead.
CMakeCacheModel: remove impossible case
Exactly the same case has been checked 2 if's before.
REPOSITORY
R32 KDevelop
BRANCH
cmcachemgr (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D16942
AFFECTED FILES
plugins/cmake/settings/cmakecachemodel.cpp
To: dakon
Cc: kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
dakon requested review of this revision.
REVISION SUMMARY
QString::mid() will create a new string, but this code path will never use the
old variable again. So simply modify the original copy instead.
CMakeCacheModel: remove impossible case
Exactly the same case has been checked 2 if's before.
REPOSITORY
R32 KDevelop
BRANCH
cmcachemgr (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D16942
AFFECTED FILES
plugins/cmake/settings/cmakecachemodel.cpp
To: dakon
Cc: kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd