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

--- Comment #6 from Aleix Pol <aleix...@kde.org> ---
I've really tried hard to reproduce this and have been unable to in any helpful
way. I found a neon iso that does but then compiling myself didn't make a
different. I'm afraid we're hitting some kind of Qt problem.

Would any of you be able to run this discover with this patch and tell me
what's the output you get?

diff --git a/libdiscover/resources/SourcesModel.cpp
b/libdiscover/resources/SourcesModel.cpp
index 4c5ddd2c..b9047b7c 100644
--- a/libdiscover/resources/SourcesModel.cpp
+++ b/libdiscover/resources/SourcesModel.cpp
@@ -74,6 +74,7 @@ const QAbstractItemModel * SourcesModel::modelAt(const
QModelIndex& index) const
 QVariant SourcesModel::data(const QModelIndex& index, int role) const
 {
     if (!index.isValid()) return {};
+    qDebug() << "data" << index << role;
     switch (role) {
         case SourceNameRole:
             return modelAt(index)->property(DisplayName);

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

Reply via email to