[vlc-devel] commit: Remove debug. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Apr 6 02:33:09 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Apr  5 17:21:56 2008 -0700| [8501e4a23824813d95c036b398f89524245b55c5]

Remove debug.

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

 modules/gui/qt4/components/extended_panels.cpp   |    2 --
 modules/gui/qt4/components/interface_widgets.cpp |    1 -
 modules/gui/qt4/components/open_panels.cpp       |    1 -
 modules/gui/qt4/dialogs/vlm.cpp                  |    6 ++----
 modules/gui/qt4/qt4.cpp                          |    2 +-
 5 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 053bb69..a17dd83 100755
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -624,7 +624,6 @@ void ExtV4l2::Refresh( void )
     }
     if( p_obj )
     {
-        msg_Dbg( p_intf, "Found v4l2 instance" );
         vlc_value_t val, text, name;
         int i_ret = var_Change( p_obj, "controls", VLC_VAR_GETCHOICES,
                                 &val, &text );
@@ -748,7 +747,6 @@ void ExtV4l2::Refresh( void )
         msg_Dbg( p_intf, "Couldn't find v4l2 instance" );
         ui.help->show();
     }
-
 }
 
 void ExtV4l2::ValueChange( bool value )
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 1c8fbd0..ad978a0 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -206,7 +206,6 @@ void BackgroundWidget::updateArt( QString url )
     else
     {
         label->setPixmap( QPixmap( url ) );
-        msg_Dbg( p_intf, "changing input b_need_update done ");
     }
 }
 
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 40b053f..bb1d2bb 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -1023,7 +1023,6 @@ void CaptureOpenPanel::updateButtons()
     /* Get the current Device Number */
     int i_devicetype = ui.deviceCombo->itemData(
                                 ui.deviceCombo->currentIndex() ).toInt();
-    msg_Dbg( p_intf, "Capture Type: %i", i_devicetype );
     switch( i_devicetype )
     {
 #ifdef WIN32
diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 607dc16..3bc4725 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -162,7 +162,6 @@ VLMDialog::VLMDialog( QWidget *parent, intf_thread_t *_p_intf ) : QVLCDialog( pa
 
 VLMDialog::~VLMDialog()
 {
-    msg_Dbg( p_intf, "Destroying VLM Dialog" );
     delete vlmWrapper;
 
    /* FIXME :you have to destroy vlm here to close
@@ -204,7 +203,7 @@ void VLMDialog::addVLMItem()
     QString name = ui.nameLedit->text();
     if( name.isEmpty() || !isNameGenuine( name ) )
     {
-        msg_Dbg( p_intf, "VLM Name is empty or already exists, I can't do it" );
+        msg_Err( p_intf, "VLM Name is empty or already exists, I can't do it" );
         return;
     }
 
@@ -351,7 +350,7 @@ bool VLMDialog::importVLMConf()
         }
         else
         {
-            msg_Dbg( p_intf, "Failed to import vlm configuration file : %s", qtu( command ) );
+            msg_Warn( p_intf, "Failed to import vlm configuration file : %s", qtu( command ) );
             return false;
         }
         return true;
@@ -405,7 +404,6 @@ void VLMDialog::startModifyVLMItem( VLMAWidget *vlmObj )
     currentIndex = vlmItems.indexOf( vlmObj );
     if( currentIndex < 0 ) return;
 
-    msg_Dbg( p_intf, "Type: %i", vlmObj->type );
     ui.vlmListItem->setCurrentRow( currentIndex );
     ui.nameLedit->setText( vlmObj->name );
     ui.inputLedit->setText( vlmObj->input );
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index ccfd614..cb00389 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -362,6 +362,7 @@ static void Init( intf_thread_t *p_intf )
                            : p_intf->p_libvlc->psz_homedir;
 
 #ifdef UPDATE_CHECK
+    /* Checking for VLC updates */
     if( config_GetInt( p_intf, "qt-updates-notif" ) )
     {
         int interval = config_GetInt( p_intf, "qt-updates-days" );
@@ -369,7 +370,6 @@ static void Init( intf_thread_t *p_intf )
         if( QDate::currentDate() >
                 settings.value( "updatedate" ).toDate().addDays( interval ) )
         {
-            msg_Dbg( p_intf, "Someone said I need to check updates" );
             /* The constructor of the update Dialog will do the 1st request */
             UpdateDialog::getInstance( p_intf );
             settings.setValue( "updatedate", QDate::currentDate() );




More information about the vlc-devel mailing list