NOISSUE Various changes from multiauth that are unrelated to it
This commit is contained in:
committed by
Petr Mrázek
parent
161dc66c2c
commit
3a8b238052
@@ -1,5 +1,5 @@
|
||||
#include "MMCJson.h"
|
||||
using namespace MMCJson;
|
||||
#include "Json.h"
|
||||
using namespace Json;
|
||||
|
||||
#include "RawLibrary.h"
|
||||
#include <pathutils.h>
|
||||
@@ -74,7 +74,7 @@ RawLibraryPtr RawLibrary::fromJsonPlus(const QJsonObject &libObj, const QString
|
||||
auto lib = RawLibrary::fromJson(libObj, filename);
|
||||
if (libObj.contains("insert"))
|
||||
{
|
||||
QJsonValue insertVal = ensureExists(libObj.value("insert"), "library insert rule");
|
||||
QJsonValue insertVal = ensureJsonValue(libObj.value("insert"), "library insert rule");
|
||||
if (insertVal.isString())
|
||||
{
|
||||
// it's just a simple string rule. OK.
|
||||
|
Reference in New Issue
Block a user