You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libaccounts-qt/accounts-qt-1.6-do-not-init...

22 lines
887 B

diff -up accounts-qt-1.6/Accounts/account.h.do-not-initialize-qstring-to-null accounts-qt-1.6/Accounts/account.h
--- accounts-qt-1.6/Accounts/account.h.do-not-initialize-qstring-to-null 2013-02-20 15:02:37.000000000 +0100
+++ accounts-qt-1.6/Accounts/account.h 2013-03-04 09:34:02.324000094 +0100
@@ -105,7 +105,7 @@ public:
bool supportsService(const QString &serviceType) const;
- ServiceList services(const QString &serviceType = NULL) const;
+ ServiceList services(const QString &serviceType = QString()) const;
ServiceList enabledServices() const;
bool enabled() const;
@@ -169,7 +169,7 @@ public:
bool default_value = false,
SettingSource *source = 0) const;
- Watch *watchKey(const QString &key = NULL);
+ Watch *watchKey(const QString &key = QString());
void sync();
bool syncAndBlock();