Skip to content

Commit

Permalink
QDENGINE: Fix grid zone processing
Browse files Browse the repository at this point in the history
We ended up with double encoding which was leading to the fact that
there was no way to enable/disable zones via QML.
  • Loading branch information
sev- committed Aug 18, 2024
1 parent bcc69b3 commit 351ff14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/qdengine/qdcore/qd_grid_zone_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

namespace QDEngine {

const char *const qdGridZoneState::ZONE_STATE_ON_NAME = "Вкл";
const char *const qdGridZoneState::ZONE_STATE_OFF_NAME = "Выкл";
const char *const qdGridZoneState::ZONE_STATE_ON_NAME = "\xc2\xea\xeb"; // "Вкл"
const char *const qdGridZoneState::ZONE_STATE_OFF_NAME = "\xc2\xfb\xea\xeb"; // "Выкл"

qdGridZoneState::qdGridZoneState(bool st) : _state(st) {
if (st)
Expand Down

0 comments on commit 351ff14

Please sign in to comment.