[vlmc-devel] EffectWidget: Use QLabel::clear
Yikai Lu
git at videolan.org
Mon Aug 7 19:18:23 CEST 2017
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Aug 8 00:58:57 2017 +0900| [9dcac2b0a25c6380da59921f98b3ffcf063aafc3] | committer: Yikai Lu
EffectWidget: Use QLabel::clear
> https://code.videolan.org/videolan/vlmc/commit/9dcac2b0a25c6380da59921f98b3ffcf063aafc3
---
src/Gui/effectsengine/EffectWidget.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/Gui/effectsengine/EffectWidget.cpp b/src/Gui/effectsengine/EffectWidget.cpp
index 1b227148..17c3cba6 100644
--- a/src/Gui/effectsengine/EffectWidget.cpp
+++ b/src/Gui/effectsengine/EffectWidget.cpp
@@ -53,9 +53,9 @@ EffectWidget::setEffectHelper( std::shared_ptr<EffectHelper> const& effect )
void
EffectWidget::clear()
{
- m_ui->nameValueLabel->setText( QStringLiteral( "" ) );
- m_ui->descValueLabel->setText( QStringLiteral( "" ) );
- m_ui->typeValueLabel->setText( QStringLiteral( "" ) );
- m_ui->authorValueLabel->setText( QStringLiteral( "" ) );
- m_ui->versionValueLabel->setText( QStringLiteral( "" ) );
+ m_ui->nameValueLabel->clear();
+ m_ui->descValueLabel->clear();
+ m_ui->typeValueLabel->clear();
+ m_ui->authorValueLabel->clear();
+ m_ui->versionValueLabel->clear();
}
More information about the Vlmc-devel
mailing list