Set QComboBox icon size

This commit is contained in:
triplus 2016-02-29 20:14:49 +01:00
parent 28b6c82555
commit cf842d569e

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());