https://bugs.kde.org/show_bug.cgi?id=442604

Aleix Pol <aleix...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/discover/commit/57d8dcd4
                   |                            |928746e01d21c0c53aad605e43c
                   |                            |893f2
             Status|CONFIRMED                   |RESOLVED

--- Comment #3 from Aleix Pol <aleix...@kde.org> ---
Git commit 57d8dcd4928746e01d21c0c53aad605e43c893f2 by Aleix Pol.
Committed on 23/09/2021 at 01:31.
Pushed by apol into branch 'master'.

Sources: Fix displaying sources

This is a work-around to 2 half-bugs:
- ListView doesn't really care for models with columns
- QConcatenateTablesProxyModel enforces that we see the minimum amount
of columns available in all of the models.

Empty models (like QStandardItemModel) will report 0 columns if they're
empty. This makes the resulting model to appear bogus to the view.
ListView doesn't seem to refresh the items when a new column is added
because it doesn't care about columns.

Result: this workaround after a bunch of wasted hours. :(

M  +13   -2    libdiscover/resources/SourcesModel.cpp
M  +4    -0    libdiscover/utils.h

https://invent.kde.org/plasma/discover/commit/57d8dcd4928746e01d21c0c53aad605e43c893f2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to