Commit faf42d0f authored by Rafał Malinowski's avatar Rafał Malinowski

plugin: fix look of widget on Qt5

Signed-off-by: Rafał Malinowski's avatarRafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
parent c123bb62
......@@ -70,7 +70,7 @@ void PluginListWidgetItemDelegate::paint(QPainter *painter, const QStyleOptionVi
auto xOffset = m_checkBox->sizeHint().width();
#ifdef Q_OS_WIN32
#if defined(Q_OS_WIN32) || QT_VERSION >= 0x050000
xOffset += QApplication::style()->pixelMetric(QStyle::PM_CheckBoxLabelSpacing);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment