Actions
Bug #2361
openQt: city_production_model::setData() always early exits
Start date:
10/11/2026
Due date:
% Done:
0%
Estimated time:
Description
The city_production_model::setData() condition
if (!index.isValid() || role != Qt::DisplayRole || role != Qt::ToolTipRole)
is always true, since role cannot be simultaneously both Qt::DisplayRole and Qt::ToolTipRole
Files
Updated by Marko Lindqvist 3 days ago
- File 0091-Qt-Drop-city_production_model-setData.patch 0091-Qt-Drop-city_production_model-setData.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
- Target version set to 3.4.0
As far as I can see, whole function was completely pointless. Drop it, but only from development branch.
Actions