Commit afbf0d49 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: code cosmetics

parent dc1fd8f5
...@@ -570,7 +570,7 @@ CoverArtLabel::~CoverArtLabel() ...@@ -570,7 +570,7 @@ CoverArtLabel::~CoverArtLabel()
void CoverArtLabel::showArtUpdate( const QString& url ) void CoverArtLabel::showArtUpdate( const QString& url )
{ {
QPixmap pix; QPixmap pix;
if( !url.isEmpty() && pix.load( url ) ) if( !url.isEmpty() && pix.load( url ) )
{ {
pix = pix.scaled( maximumWidth(), maximumHeight(), pix = pix.scaled( maximumWidth(), maximumHeight(),
Qt::KeepAspectRatioByExpanding ); Qt::KeepAspectRatioByExpanding );
......
...@@ -199,7 +199,7 @@ private: ...@@ -199,7 +199,7 @@ private:
intf_thread_t *p_intf; intf_thread_t *p_intf;
public slots: public slots:
void requestUpdate() { emit updateRequested(); }; void requestUpdate() { emit updateRequested(); }
void update( ) void update( )
{ {
requestUpdate(); requestUpdate();
......
...@@ -50,10 +50,10 @@ public: ...@@ -50,10 +50,10 @@ public:
void removeChildren(); void removeChildren();
void takeChildAt( int ); void takeChildAt( int );
PLItem *child( int row ) { return children.value( row ); }; PLItem *child( int row ) { return children.value( row ); }
int childCount() const { return children.count(); }; int childCount() const { return children.count(); }
PLItem *parent() { return parentItem; }; PLItem *parent() { return parentItem; }
input_item_t *inputItem() { return p_input; } input_item_t *inputItem() { return p_input; }
protected: protected:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment