Commit c04a6968 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make sure that url is not empty

parent 6e4e51cb
Pipeline #72877 canceled with stage
......@@ -48,7 +48,7 @@ SoundTestWidget::~SoundTestWidget()
void SoundTestWidget::slotUrlChanged(const QString &url)
{
m_playButton->setEnabled(!url.isEmpty());
m_playButton->setEnabled(!url.trimmed().isEmpty());
Q_EMIT textChanged(url);
}
......
Supports Markdown
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