From bb9187523dcc0f7ba3adfe4634ba2f78897416f4 Mon Sep 17 00:00:00 2001 From: Alexis Maiquez Murcia Date: Tue, 19 Feb 2019 17:02:43 +0100 Subject: Keep compatibility with old versions of the ini file to prevent breaking user's workflow Signed-off-by: Alexis Maiquez Murcia --- src/app.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.cpp b/src/app.cpp index 1dd94cc..bb7c777 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -167,7 +167,8 @@ App::loadSensor(QScreen* screen, QString name, int x, int y, int w, int h) if (emptyCount == 2) { - qDebug () << "App::loadSensor () sensor " << sensorName << " does not have any action in it, ignoring..."; + // to not make this a breaking change, keep compatibility with old configurations + sensors.append (new Sensor (x, y, w, h, sensorName, "", 0, 0)); return; } -- cgit v1.2.3