on xenial help sign in
Let hereLicensePath update from null to empty string
commit736b60392147740eb331f08797cd4236bba68978 authorMichael Terry <michael.terry@canonical.com> dateFri 28 Nov 2014, 10:55 (12 years ago) parentae2f1e4
1 file changed+1−1
plugins/AccountsService/AccountsService.cpp+1−1
plugins/AccountsService/AccountsService.cpp+1−1
@@ -202,7 +202,7 @@ void AccountsService::updateHereLicensePath()
202202 if (hereLicensePath.isEmpty() || !QFile::exists(hereLicensePath))
203203 hereLicensePath = "";
204204
205− if (m_hereLicensePath != hereLicensePath) {
205+ if (m_hereLicensePath.isNull() || m_hereLicensePath != hereLicensePath) {
206206 m_hereLicensePath = hereLicensePath;
207207 Q_EMIT hereLicensePathChanged();
208208 }