diff --git a/interfaces/devicesmodel.cpp b/interfaces/devicesmodel.cpp index 4c08bda76..a72d8da7f 100644 --- a/interfaces/devicesmodel.cpp +++ b/interfaces/devicesmodel.cpp @@ -251,6 +251,8 @@ QVariant DevicesModel::data(const QModelIndex& index, int role) const //This function gets called lots of times, producing lots of dbus calls. Add a cache? switch (role) { + case Qt::SizeHintRole: + return QSize(0, 32); case IconModelRole: { QString icon = data(index, IconNameRole).toString(); return QIcon::fromTheme(icon);