Merge pull request #107 from triplus/Set-QComboBox-icon-size

Set QComboBox icon size
This commit is contained in:
Yorik van Havre 2016-03-01 00:13:49 -03:00
commit f1053504a1

View File

@ -508,6 +508,7 @@ void WorkbenchGroup::addTo(QWidget *w)
if (w->inherits("QToolBar")) {
QToolBar* bar = qobject_cast<QToolBar*>(w);
QComboBox* box = new WorkbenchComboBox(this, w);
box->setIconSize(QSize(16, 16));
box->setToolTip(_action->toolTip());
box->setStatusTip(_action->statusTip());
box->setWhatsThis(_action->whatsThis());