[vlc-commits] Qt: Open Network Dialog: Only clear edit line on cancel (fix #7913)
Francois Cartegnie
git at videolan.org
Sat Dec 22 22:56:30 CET 2012
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Dec 22 22:56:18 2012 +0100| [8e0f4af90549ac9a2c484a19d6fc9e2952be91dd] | committer: Francois Cartegnie
Qt: Open Network Dialog: Only clear edit line on cancel (fix #7913)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e0f4af90549ac9a2c484a19d6fc9e2952be91dd
---
modules/gui/qt4/components/open_panels.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 2c9a186..423deef 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -685,7 +685,7 @@ NetOpenPanel::~NetOpenPanel()
void NetOpenPanel::clear()
{
- ui.urlComboBox->clear();
+ ui.urlComboBox->lineEdit()->clear();
}
void NetOpenPanel::onAccept()
More information about the vlc-commits
mailing list