mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-04-28 10:44:41 +00:00
try fix android behavior
This commit is contained in:
parent
c462f44e6b
commit
f3519b341a
@ -40,6 +40,14 @@ void ISettings::setMode(const SettingsSaveMode &mode) {
|
||||
_mode = mode;
|
||||
}
|
||||
|
||||
ISettings *ISettings::instance() {
|
||||
return Service<ISettings>::instance();
|
||||
}
|
||||
|
||||
bool ISettings::initService(std::unique_ptr<ISettings> obj) {
|
||||
return Service<ISettings>::initService(std::move(obj));
|
||||
}
|
||||
|
||||
QVariant ISettings::getValue(const QString &key, const QVariant &def) {
|
||||
debug_assert(key.size(), "You can't use the empty key value!");
|
||||
|
||||
|
@ -104,6 +104,9 @@ public:
|
||||
*/
|
||||
void setMode(const SettingsSaveMode &mode);
|
||||
|
||||
static ISettings* instance();
|
||||
static bool initService(std::unique_ptr<ISettings> obj);
|
||||
|
||||
public slots:
|
||||
/**
|
||||
* @brief setValue This slot sets new value for a @a key setting
|
||||
|
Loading…
x
Reference in New Issue
Block a user