Commit 94d4f902 authored by Scott Wheeler's avatar Scott Wheeler

CVS_SILENT style nitpicks

svn path=/trunk/kdemultimedia/juk/; revision=287062
parent 8a7ecf2c
......@@ -203,24 +203,24 @@ void SystemTray::wheelEvent(QWheelEvent *e)
/*
* Reimplemented this in order to use the middle mouse button
*/
void SystemTray::mousePressEvent( QMouseEvent *e )
void SystemTray::mousePressEvent(QMouseEvent *e)
{
switch ( e->button() ) {
switch(e->button()) {
case LeftButton:
case RightButton:
KSystemTray::mousePressEvent( e );
KSystemTray::mousePressEvent(e);
break;
case MidButton:
if ( !rect().contains( e->pos() ) )
return;
if ( m_pauseAction->isEnabled() )
if(!rect().contains(e->pos()))
return;
if(m_pauseAction->isEnabled())
m_pauseAction->activate();
else
m_playAction->activate();
break;
default:
// nothing
break;
// nothing
break;
}
}
......
......@@ -41,10 +41,10 @@ public slots:
void slotStop();
private:
virtual void wheelEvent( QWheelEvent *e);
virtual void wheelEvent(QWheelEvent *e);
void createPopup(const QString &songName, bool addButtons = true);
void setToolTip(const QString &tip = QString::null);
void mousePressEvent( QMouseEvent * );
void mousePressEvent(QMouseEvent *e);
QPixmap createPixmap(const QString &pixName);
QPixmap m_playPix;
......
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