Use only one settings instance
There is one instance in main
, one in XmltvFetcher
, one in Fetcher
and one in Database
. Therefore, e.g. the Database
cannot be notified about setting changes.
Use either a settings singleton (Singelton=true
in .kcfgc
) or inject settings instance (in this case Database
cannot be a singleton).
Is there a standard KDE way to do this?
Edited by Plata Hill