on xenial help sign in
Let hereLicensePath update from null to empty string
736b603Michael Terry
plugins/AccountsService/AccountsService.cpp+1−1
@@ -202,7 +202,7 @@ void AccountsService::updateHereLicensePath()
202 if (hereLicensePath.isEmpty() || !QFile::exists(hereLicensePath))
202 if (hereLicensePath.isEmpty() || !QFile::exists(hereLicensePath))
203 hereLicensePath = "";
203 hereLicensePath = "";
204
204
205− if (m_hereLicensePath != hereLicensePath) {
205+ if (m_hereLicensePath.isNull() || m_hereLicensePath != hereLicensePath) {
206 m_hereLicensePath = hereLicensePath;
206 m_hereLicensePath = hereLicensePath;
207 Q_EMIT hereLicensePathChanged();
207 Q_EMIT hereLicensePathChanged();
208 }
208 }