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