From 8fc05ebf61c0cbb0e35e80dfc6afa69b24beb2aa Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Tue, 26 Jun 2012 11:58:42 +0200 Subject: [PATCH] SysRoot: Do not treat "" as invalid sysroot Do not treat "" as a invalid sysroot after the sysroot was already set to something else. Change-Id: I241d874969a7b7d81dfee0f2804579e5a92ada25 Reviewed-by: Daniel Teske --- src/plugins/projectexplorer/profileinformation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/profileinformation.cpp b/src/plugins/projectexplorer/profileinformation.cpp index 0dd63e56d37..fd3137fd99e 100644 --- a/src/plugins/projectexplorer/profileinformation.cpp +++ b/src/plugins/projectexplorer/profileinformation.cpp @@ -102,7 +102,7 @@ ProfileInformation::ItemList SysRootProfileInformation::toUserOutput(Profile *p) bool SysRootProfileInformation::hasSysRoot(const Profile *p) { - return !p->value(Core::Id(SYSROOT_INFORMATION)).isNull(); + return !p->value(Core::Id(SYSROOT_INFORMATION)).toString().isEmpty(); } Utils::FileName SysRootProfileInformation::sysRoot(const Profile *p)