]> git.sesse.net Git - vlc/commitdiff
Qt: code cosmetics
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Jan 2010 18:50:15 +0000 (19:50 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Jan 2010 21:05:03 +0000 (22:05 +0100)
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/playlist/playlist_item.hpp

index 50c16477bf6975f8099024684e4359d9b5178a6f..7f09e59872e72249dd4dfff85e4fb2ebf8427b22 100644 (file)
@@ -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 );
index f37b0e37377084af06045ddf55cc8f378e055c18..12484f2a68ba54729c41b86390d3260ab1666d4a 100644 (file)
@@ -199,7 +199,7 @@ private:
     intf_thread_t *p_intf;
 
 public slots:
-    void requestUpdate() { emit updateRequested(); };
+    void requestUpdate() { emit updateRequested(); }
     void update( )
     {
         requestUpdate();
index 896f9be736ccb67e8e8ccce3ff096a5f6f6c8e84..ab05a15476a85f429ac840f5e87657f4d66fc152 100644 (file)
@@ -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: