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