diff options
Diffstat (limited to 'src/libs/installer/componentselectionpage_p.cpp')
-rw-r--r-- | src/libs/installer/componentselectionpage_p.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/installer/componentselectionpage_p.cpp b/src/libs/installer/componentselectionpage_p.cpp index 36a7ba1fb..7f82ef47d 100644 --- a/src/libs/installer/componentselectionpage_p.cpp +++ b/src/libs/installer/componentselectionpage_p.cpp @@ -52,6 +52,7 @@ #include <QLineEdit> #include <QComboBox> #include <QStandardItemModel> +#include <QStyledItemDelegate> namespace QInstaller { @@ -136,6 +137,8 @@ ComponentSelectionPagePrivate::ComponentSelectionPagePrivate(ComponentSelectionP QHBoxLayout *topHLayout = new QHBoxLayout; m_checkStateComboBox = new QComboBox(q); + QStyledItemDelegate *delegate = new QStyledItemDelegate(this); + m_checkStateComboBox->setItemDelegate(delegate); m_checkStateComboBox->setObjectName(QLatin1String("CheckStateComboBox")); topHLayout->addWidget(m_checkStateComboBox); |