Commit e7d5777f authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

database parameters from free prop

parent 02dfd2ab
...@@ -65,7 +65,9 @@ void AlarmHistoryTree::onFilterNameChanged(const QString &f) { ...@@ -65,7 +65,9 @@ void AlarmHistoryTree::onFilterNameChanged(const QString &f) {
void AlarmHistoryTree::onDbParamsReady(const CuData &p) { void AlarmHistoryTree::onDbParamsReady(const CuData &p) {
QString m; QString m;
if(p.B("err")) { bool err;
p["err"].to<bool>(err);
if(err) {
m = QuString(p, "msg"); m = QuString(p, "msg");
printf("AlarmHistoryTree::onDbParamsReady error ? %s\n", datos(p)); printf("AlarmHistoryTree::onDbParamsReady error ? %s\n", datos(p));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment