]> git.sesse.net Git - vlc/commitdiff
Qt4: Small fix and speedup
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 3 Mar 2008 01:20:05 +0000 (17:20 -0800)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 3 Mar 2008 01:20:05 +0000 (17:20 -0800)
modules/gui/qt4/input_manager.cpp

index 78b799bfd18dbfaa7c6c4e92217758e19b44e439..cee71930f1f2b03c8566eda4230027bb1410b3c6 100644 (file)
@@ -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 );
     }
 }