Ticket #3910: libmyth-mythcontext_globalSettings-02092007.diff
| File libmyth-mythcontext_globalSettings-02092007.diff, 1.2 KB (added by , 19 years ago) |
|---|
-
libs/libmyth/mythcontext.h
333 333 334 334 void SaveSetting(const QString &key, int newValue); 335 335 void SaveSetting(const QString &key, const QString &newValue); 336 void SaveGlobalSetting(const QString &key, const QString &value); 336 337 QString GetSetting(const QString &key, const QString &defaultval = ""); 337 338 bool SaveSettingOnHost(const QString &key, const QString &newValue, 338 339 const QString &host); -
libs/libmyth/mythcontext.cpp
1964 1964 (void) SaveSettingOnHost(key, newValue, d->m_localhostname); 1965 1965 } 1966 1966 1967 void MythContext::SaveGlobalSetting(const QString &key, const QString &newValue) 1968 { 1969 (void) SaveSettingOnHost(key, newValue, NULL); 1970 } 1971 1967 1972 bool MythContext::SaveSettingOnHost(const QString &key, const QString &newValue, 1968 1973 const QString &host) 1969 1974 {
