Skip to content
Verified Commit 44ed25e5 authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

[applets/batterymonitor] Nuke a truly horrible layout HACK

GridLayout no longer crashes was described in an old comment and
nowadays is pretty safe to use. Repeater, however, still doesn't
support instantiating multiple top-level items at once, which is
unfortunate but can be worked around; see upstream Qt bug below.

In this case, however, simple is better than smart-ish; the entire
at-most-two-rows table-like grid can be recreated entirely without
Repeaters and clever models. Just do it.

See also: QTBUG-38098
parent 3369bc4a
Pipeline #106271 passed with stage
in 5 minutes and 20 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment