diff options
-rw-r--r-- | gui/widgets/PageContainer_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/widgets/PageContainer_p.h b/gui/widgets/PageContainer_p.h index 329a3916..1d1809dd 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(); |