[vlc-devel] commit: Qt: code cosmetics (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Jan 24 22:05:22 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jan 24 19:50:15 2010 +0100| [afbf0d495377d92e883941fc19c1deec177ccbb4] | committer: Jean-Baptiste Kempf
Qt: code cosmetics
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=afbf0d495377d92e883941fc19c1deec177ccbb4
---
modules/gui/qt4/components/interface_widgets.cpp | 2 +-
modules/gui/qt4/components/interface_widgets.hpp | 2 +-
.../gui/qt4/components/playlist/playlist_item.hpp | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 50c1647..7f09e59 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -570,7 +570,7 @@ CoverArtLabel::~CoverArtLabel()
void CoverArtLabel::showArtUpdate( const QString& url )
{
QPixmap pix;
- if( !url.isEmpty() && pix.load( url ) )
+ if( !url.isEmpty() && pix.load( url ) )
{
pix = pix.scaled( maximumWidth(), maximumHeight(),
Qt::KeepAspectRatioByExpanding );
diff --git a/modules/gui/qt4/components/interface_widgets.hpp b/modules/gui/qt4/components/interface_widgets.hpp
index f37b0e3..12484f2 100644
--- a/modules/gui/qt4/components/interface_widgets.hpp
+++ b/modules/gui/qt4/components/interface_widgets.hpp
@@ -199,7 +199,7 @@ private:
intf_thread_t *p_intf;
public slots:
- void requestUpdate() { emit updateRequested(); };
+ void requestUpdate() { emit updateRequested(); }
void update( )
{
requestUpdate();
diff --git a/modules/gui/qt4/components/playlist/playlist_item.hpp b/modules/gui/qt4/components/playlist/playlist_item.hpp
index 896f9be..ab05a15 100644
--- a/modules/gui/qt4/components/playlist/playlist_item.hpp
+++ b/modules/gui/qt4/components/playlist/playlist_item.hpp
@@ -50,10 +50,10 @@ public:
void removeChildren();
void takeChildAt( int );
- PLItem *child( int row ) { return children.value( row ); };
- int childCount() const { return children.count(); };
+ PLItem *child( int row ) { return children.value( row ); }
+ int childCount() const { return children.count(); }
- PLItem *parent() { return parentItem; };
+ PLItem *parent() { return parentItem; }
input_item_t *inputItem() { return p_input; }
protected:
More information about the vlc-devel
mailing list