refactor: brackets
This commit is contained in:
@@ -20,7 +20,9 @@ void TextInputDialog::onSubmit()
|
|||||||
{
|
{
|
||||||
QString text = m_lineEdit->text().trimmed();
|
QString text = m_lineEdit->text().trimmed();
|
||||||
if (text.isEmpty())
|
if (text.isEmpty())
|
||||||
|
{
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
emit textSubmitted(text);
|
emit textSubmitted(text);
|
||||||
m_lineEdit->clear();
|
m_lineEdit->clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user