on xenial help sign in
Go back to using empty string, not null string for bad but valid path
4fd0b34Michael Terry
plugins/AccountsService/AccountsService.cpp+1−1
@@ -151,7 +151,7 @@ QString AccountsService::hereLicensePath() const
151 auto value = getProperty(IFACE_LOCATION_HERE, PROP_LICENSE_BASE_PATH);
151 auto value = getProperty(IFACE_LOCATION_HERE, PROP_LICENSE_BASE_PATH);
152 QString hereLicensePath = value.toString();
152 QString hereLicensePath = value.toString();
153 if (hereLicensePath.isEmpty() || !QFile::exists(hereLicensePath))
153 if (hereLicensePath.isEmpty() || !QFile::exists(hereLicensePath))
154− hereLicensePath.clear();
154+ hereLicensePath = QStringLiteral("");
155 return hereLicensePath;
155 return hereLicensePath;
156}
156}
157
157