Commit 73e5240b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Add a connect() to let the middle button click to work.

svn path=/trunk/KDE/kdemultimedia/juk/; revision=960734
parent 661cb794
......@@ -231,6 +231,7 @@ SystemTray::SystemTray(QWidget *parent) : KSystemTrayIcon(parent),
m_fadeTimer = new QTimer(this);
connect(m_fadeTimer, SIGNAL(timeout()), SLOT(slotNextStep()));
connect(this, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), SLOT(slotActivated(QSystemTrayIcon::ActivationReason)));
......@@ -104,7 +104,6 @@ private:
virtual void wheelEvent(QWheelEvent *e);
void createPopup();
void setToolTip(const QString &tip = QString(), const QPixmap &cover = QPixmap());
void slotActivated(QSystemTrayIcon::ActivationReason reason);
void ousePressEvent(QMouseEvent *e);
QPixmap createPixmap(const QString &pixName);
......@@ -139,6 +138,7 @@ private slots:
void slotBack();
void slotFadeOut(); ///< Fades out the text
void slotMouseInPopup(); ///< Forces the text back to its normal color.
void slotActivated(QSystemTrayIcon::ActivationReason reason);
QPixmap m_playPix;
Supports Markdown
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