|
@@ -187,7 +187,7 @@ void RackWidget::mergeJson(json_t* rootJ) { |
|
|
// TODO Legacy v0.6? |
|
|
// TODO Legacy v0.6? |
|
|
ModuleWidget* moduleWidget = getModule(id); |
|
|
ModuleWidget* moduleWidget = getModule(id); |
|
|
if (!moduleWidget) { |
|
|
if (!moduleWidget) { |
|
|
WARN("Cannot find ModuleWidget with ID %lld", id); |
|
|
|
|
|
|
|
|
WARN("Cannot find ModuleWidget with ID %" PRId64 "", id); |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -212,7 +212,7 @@ void RackWidget::mergeJson(json_t* rootJ) { |
|
|
int64_t id = json_integer_value(idJ); |
|
|
int64_t id = json_integer_value(idJ); |
|
|
CableWidget* cw = getCable(id); |
|
|
CableWidget* cw = getCable(id); |
|
|
if (!cw) { |
|
|
if (!cw) { |
|
|
WARN("Cannot find CableWidget with ID %lld", id); |
|
|
|
|
|
|
|
|
WARN("Cannot find CableWidget with ID %" PRId64 "", id); |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -238,7 +238,7 @@ void RackWidget::fromJson(json_t* rootJ) { |
|
|
int64_t id = json_integer_value(idJ); |
|
|
int64_t id = json_integer_value(idJ); |
|
|
engine::Module* module = APP->engine->getModule(id); |
|
|
engine::Module* module = APP->engine->getModule(id); |
|
|
if (!module) { |
|
|
if (!module) { |
|
|
WARN("Cannot find module with ID %lld", id); |
|
|
|
|
|
|
|
|
WARN("Cannot find module with ID %" PRId64 "", id); |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -283,7 +283,7 @@ void RackWidget::fromJson(json_t* rootJ) { |
|
|
int64_t id = json_integer_value(idJ); |
|
|
int64_t id = json_integer_value(idJ); |
|
|
engine::Cable* cable = APP->engine->getCable(id); |
|
|
engine::Cable* cable = APP->engine->getCable(id); |
|
|
if (!cable) { |
|
|
if (!cable) { |
|
|
WARN("Cannot find cable with ID %lld", id); |
|
|
|
|
|
|
|
|
WARN("Cannot find cable with ID %" PRId64 "", id); |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|