TechDraw: Translate leader line arrow shapes
This commit is contained in:
committed by
WandererFan
parent
04dce2546c
commit
b40eae83f0
@@ -73,7 +73,7 @@ void DrawGuiUtil::loadArrowBox(QComboBox* qcb)
|
||||
qcb->clear();
|
||||
int i = 0;
|
||||
for (; i < ArrowPropEnum::ArrowCount; i++) {
|
||||
qcb->addItem(tr(ArrowPropEnum::ArrowTypeEnums[i]));
|
||||
qcb->addItem(QCoreApplication::translate("ArrowPropEnum", ArrowPropEnum::ArrowTypeEnums[i]));
|
||||
QIcon itemIcon(QString::fromUtf8(ArrowPropEnum::ArrowTypeIcons[i].c_str()));
|
||||
qcb->setItemIcon(i, itemIcon);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user