From 8501e4a23824813d95c036b398f89524245b55c5 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 5 Apr 2008 17:21:56 -0700 Subject: [PATCH] Remove debug. --- 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 053bb69d7c..a17dd8366a 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 1c8fbd09c5..ad978a0554 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 40b053fa68..bb1d2bb517 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 607dc16a7e..3bc4725753 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 ccfd614167..cb00389eb5 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() ); -- 2.39.2