diff options
author | Kevin Simons <kevin.simons@nokia.com> | 2012-02-26 10:11:01 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-27 17:44:56 +0100 |
commit | 0e6514dde8b0970cebda41bfa47fb026cd795fa4 (patch) | |
tree | cf302f7972df97a1fdd947766e9e61e91b6d42ca /src/daemon/jsondbnotification.cpp | |
parent | d0d6742ba7c9748d8b2f1c7b7dbff67d22b2a498 (diff) |
Remove writable global static variables
Replace them with a singleton settings object. Having globals that
span the gap between the partition and the daemon are an impediment
to creating a separate partition library.
The JsonDbSettings singleton automatically reads environment variables
based on the names of its properties.
Change-Id: I1a5301d954cf2987713813146c9ad7ca67efc27b
Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com>
Diffstat (limited to 'src/daemon/jsondbnotification.cpp')
-rw-r--r-- | src/daemon/jsondbnotification.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/daemon/jsondbnotification.cpp b/src/daemon/jsondbnotification.cpp index f42f6974..69747ec4 100644 --- a/src/daemon/jsondbnotification.cpp +++ b/src/daemon/jsondbnotification.cpp @@ -51,8 +51,6 @@ QT_BEGIN_NAMESPACE_JSONDB -static QMap<QString, JsonDbNotification*> sNotificationMap; - JsonDbNotification::JsonDbNotification(const JsonDbOwner *owner, const QString &uuid, const QString& query, QStringList actions, const QString &partition) : mOwner(owner) |