[TechDraw] Simplify return logic
Easy warmup
This commit is contained in:
committed by
WandererFan
parent
122ab14d92
commit
70c9cf0fc0
@@ -59,8 +59,7 @@ void DlgTemplateField::setFieldContent(std::string content)
|
||||
|
||||
QString DlgTemplateField::getFieldContent()
|
||||
{
|
||||
QString result = ui->leInput->text();
|
||||
return result;
|
||||
return ui->leInput->text();
|
||||
}
|
||||
|
||||
void DlgTemplateField::accept()
|
||||
|
||||
Reference in New Issue
Block a user