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

Qt: code cosmetics

parent dc1fd8f5
......@@ -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 );
......
......@@ -199,7 +199,7 @@ private:
intf_thread_t *p_intf;
public slots:
void requestUpdate() { emit updateRequested(); };
void requestUpdate() { emit updateRequested(); }
void update( )
{
requestUpdate();
......
......@@ -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:
......
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