Commit 5e2e5c7a authored by Laurent Montel's avatar Laurent Montel 😁

Use isEmpty() directly

(cherry picked from commit e50d389c)
parent 9cada43f
......@@ -189,7 +189,7 @@ FilterLogDialog::FilterLogDialog(QWidget *parent)
void FilterLogDialog::slotTextChanged()
{
const bool hasText = !mTextEdit->toPlainText().isEmpty();
const bool hasText = !mTextEdit->isEmpty();
mUser2Button->setEnabled(hasText);
mUser1Button->setEnabled(hasText);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment