Commit 9dcac2b0 authored by luyikei's avatar luyikei

EffectWidget: Use QLabel::clear

parent d16ac852
...@@ -53,9 +53,9 @@ EffectWidget::setEffectHelper( std::shared_ptr<EffectHelper> const& effect ) ...@@ -53,9 +53,9 @@ EffectWidget::setEffectHelper( std::shared_ptr<EffectHelper> const& effect )
void void
EffectWidget::clear() EffectWidget::clear()
{ {
m_ui->nameValueLabel->setText( QStringLiteral( "" ) ); m_ui->nameValueLabel->clear();
m_ui->descValueLabel->setText( QStringLiteral( "" ) ); m_ui->descValueLabel->clear();
m_ui->typeValueLabel->setText( QStringLiteral( "" ) ); m_ui->typeValueLabel->clear();
m_ui->authorValueLabel->setText( QStringLiteral( "" ) ); m_ui->authorValueLabel->clear();
m_ui->versionValueLabel->setText( QStringLiteral( "" ) ); m_ui->versionValueLabel->clear();
} }
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