[vlc-commits] Qt, info_panel: correctly show the save Meta button

Jean-Baptiste Kempf git at videolan.org
Mon May 16 01:08:05 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 16 01:07:49 2011 +0200| [d420d0170a22eac88dfa41bafc6b83f9a2ccd729] | committer: Jean-Baptiste Kempf

Qt, info_panel: correctly show the save Meta button

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

 modules/gui/qt4/components/info_panels.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/components/info_panels.cpp b/modules/gui/qt4/components/info_panels.cpp
index 92bdf3e..51d0604 100644
--- a/modules/gui/qt4/components/info_panels.cpp
+++ b/modules/gui/qt4/components/info_panels.cpp
@@ -145,8 +145,9 @@ MetaPanel::MetaPanel( QWidget *parent,
     label->setContentsMargins( 3, 2, 0, 0 );
     metaLayout->addWidget( label, line++, 0, 1, 7 );
     description_text = new QTextEdit;
+    description_text->setAcceptRichText( false );
     metaLayout->addWidget( description_text, line, 0, 1, 7 );
-    CONNECT( description_text, textChanged(), this, enterEditMode() );
+    // CONNECT( description_text, textChanged(), this, enterEditMode() ); //FIXME
     line++;
 
     /* VLC_META_SETTING: Useless */
@@ -250,7 +251,6 @@ void MetaPanel::update( input_item_t *p_item )
     }
 
     art_cover->showArtUpdate( file );
-
 }
 
 /**
@@ -289,7 +289,6 @@ bool MetaPanel::isInEditMode()
 
 void MetaPanel::enterEditMode()
 {
-    msg_Dbg( p_intf, "Entering Edit MetaData Mode" );
     setEditMode( true );
 }
 



More information about the vlc-commits mailing list