[vlc-devel] commit: Qt4: Small fix and speedup (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Mar 3 02:22:31 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar  2 17:20:05 2008 -0800| [f00a8d31268544452d501c8c7320435ca84eed51]

Qt4: Small fix and speedup

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f00a8d31268544452d501c8c7320435ca84eed51
---

 modules/gui/qt4/input_manager.cpp |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 78b799b..cee7193 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -112,13 +112,14 @@ void InputManager::delInput()
         i_old_playing_status = END_S;
 
         i_input_id = 0;
-        old_name=qfu("");
-        artUrl = qfu("");
+        old_name   = "";
+        artUrl     = "";
+        p_input    = NULL;
         emit positionUpdated( 0.0, 0 ,0 );
         emit statusChanged( END_S );
         emit nameChanged( "" );
         emit artChanged( "" );
-        p_input = NULL;
+        emit rateChanged( INPUT_RATE_DEFAULT );
     }
 }
 




More information about the vlc-devel mailing list