diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-01-08 14:02:33 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-01-09 09:06:36 +0000 |
commit | d59663cfe43f80a3adcef739a73da3bc224b77b5 (patch) | |
tree | e221e18e7daeb2563b878a2ac10fc7148b57c755 /src/plugins/cpptools/compileroptionsbuilder.cpp | |
parent | 170b2e46387f1c5d3bb9e21d402f6b935b3fac2d (diff) | |
download | qt-creator-d59663cfe43f80a3adcef739a73da3bc224b77b5.tar.gz |
ProjectExplorer: Remove SysRootKitInformation::hasSysRoot()
This function is exactly the same as SysrootKitInformation::sysroot(),
except that is returns a boolean. And it's always used like this:
if (SysRootKitInformation::hasSysRoot(k))
sysroot = SysRootKitInformation::SysrootKitInformation::sysroot(k);
Which means that the same code is executed twice in a row.
There is no point in this, so let's just remove it.
Change-Id: I95e4de101d6164ed48558b888e22ed8892fc6d9b
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins/cpptools/compileroptionsbuilder.cpp')
0 files changed, 0 insertions, 0 deletions