Merge pull request #7334
fa989fb
[qt] coincontrol workaround is still needed in qt5.4 (fixed in qt5.5) (MarcoFalke)
This commit is contained in:
commit
e1060c56cc
1 changed files with 2 additions and 4 deletions
|
@ -408,10 +408,8 @@ void CoinControlDialog::viewItemChanged(QTreeWidgetItem* item, int column)
|
||||||
CoinControlDialog::updateLabels(model, this);
|
CoinControlDialog::updateLabels(model, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo: this is a temporary qt5 fix: when clicking a parent node in tree mode, the parent node
|
// TODO: Remove this temporary qt5 fix after Qt5.3 and Qt5.4 are no longer used.
|
||||||
// including all children are partially selected. But the parent node should be fully selected
|
// Fixed in Qt5.5 and above: https://bugreports.qt.io/browse/QTBUG-43473
|
||||||
// as well as the children. Children should never be partially selected in the first place.
|
|
||||||
// Should be fixed in Qt5.4 and above. https://bugreports.qt.io/browse/QTBUG-43473
|
|
||||||
#if QT_VERSION >= 0x050000
|
#if QT_VERSION >= 0x050000
|
||||||
else if (column == COLUMN_CHECKBOX && item->childCount() > 0)
|
else if (column == COLUMN_CHECKBOX && item->childCount() > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue