fixes from review
This commit is contained in:
parent
027e78639a
commit
a8e67e7f61
2 changed files with 15 additions and 26 deletions
|
@ -150,7 +150,6 @@ void SystemPreferences::RegisterDefaults(mate::Arguments* args) {
|
|||
if(!args->GetNext(&value)) {
|
||||
args->ThrowError("Invalid userDefault data provided");
|
||||
} else {
|
||||
args->GetNext(&value);
|
||||
@try {
|
||||
NSDictionary* dict = DictionaryValueToNSDictionary(value);
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:dict];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue