mer-hybris / geoclue-providers-hybris

GNU Lesser General Public License v2.1
2 stars 17 forks source link

[geoclue-provider-hybris] Listen to config directory changes. Contributes to JB#36857 #9

Closed chriadam closed 7 years ago

chriadam commented 7 years ago

When QSettings writes values to the settings file, it can perform an atomic replacement via delete+rename. This can result in missed change signals if the QFileSystemWatcher is not watching the directory but just the file.

This commit ensures that we listen to config directory changes as well as config file changes.

Contributes to JB#36857

pvuorela commented 7 years ago

LGTM