on xenial help sign in
Go back to using empty string, not null string for bad but valid path
commit4fd0b3463c8219f4bd79d7f5b13b2dafb768f552 authorMichael Terry <michael.terry@canonical.com> dateThu 4 Feb 2016, 18:54 (11 years ago) parentac766b5
1 file changed+1−1
plugins/AccountsService/AccountsService.cpp+1−1
plugins/AccountsService/AccountsService.cpp+1−1
@@ -151,7 +151,7 @@ QString AccountsService::hereLicensePath() const
151151 auto value = getProperty(IFACE_LOCATION_HERE, PROP_LICENSE_BASE_PATH);
152152 QString hereLicensePath = value.toString();
153153 if (hereLicensePath.isEmpty() || !QFile::exists(hereLicensePath))
154− hereLicensePath.clear();
154+ hereLicensePath = QStringLiteral("");
155155 return hereLicensePath;
156156}
157157