diff --git a/gui/widgets/PageContainer_p.h b/gui/widgets/PageContainer_p.h index 329a39161..1d1809dd3 100644 --- a/gui/widgets/PageContainer_p.h +++ b/gui/widgets/PageContainer_p.h @@ -63,7 +63,8 @@ public: QIcon icon = m_pages.at(index.row())->icon(); if (icon.isNull()) icon = m_emptyIcon; - return icon; + // HACK: fixes icon stretching on windows. TODO: report Qt bug for this + return QIcon(icon.pixmap(QSize(24,24))); } } return QVariant();