diff options
| author | Alexis Maiquez Murcia <almamu@almamu.com> | 2019-02-19 17:02:43 +0100 |
|---|---|---|
| committer | Alexis Maiquez Murcia <almamu@almamu.com> | 2019-02-19 17:02:43 +0100 |
| commit | bb9187523dcc0f7ba3adfe4634ba2f78897416f4 (patch) | |
| tree | a2a278636d62115d4ce971b8c1f9800551b329cb | |
| parent | a64ffe1153d7b637007c2dde8bd39c559c97a1fe (diff) | |
| download | lead-bb9187523dcc0f7ba3adfe4634ba2f78897416f4.tar lead-bb9187523dcc0f7ba3adfe4634ba2f78897416f4.tar.gz lead-bb9187523dcc0f7ba3adfe4634ba2f78897416f4.zip | |
Keep compatibility with old versions of the ini file to prevent breaking user's workflow
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
| -rw-r--r-- | src/app.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |
