Commit 610073c9 authored by Scott Wheeler's avatar Scott Wheeler

Die blinking die! Danimo, you're stuck with this until you come up with a

better (non blinking) solution.  :-)

svn path=/trunk/kdemultimedia/juk/; revision=207466
parent 476e7691
......@@ -46,7 +46,7 @@ SystemTray::SystemTray(QWidget *parent, const char *name) : KSystemTray(parent,
cm->insertItem(SmallIcon("player_start"), i18n("Back"), this, SIGNAL(back()));
cm->insertItem(SmallIcon("player_end" ), i18n("Forward"), this, SIGNAL(forward()));
connect(blinkTimer, SIGNAL(timeout()), this, SLOT(slotBlink()));
// connect(blinkTimer, SIGNAL(timeout()), this, SLOT(slotBlink()));
}
SystemTray::~SystemTray()
......@@ -66,14 +66,16 @@ void SystemTray::slotNewSong(const QString& songName)
void SystemTray::slotPlay()
{
currentPix = playPix;
blinkTimer->start(blinkInterval);
setPixmap(playPix);
// currentPix = playPix;
// blinkTimer->start(blinkInterval);
}
void SystemTray::slotPause()
{
currentPix = pausePix;
blinkTimer->start(blinkInterval);
setPixmap(pausePix);
// currentPix = pausePix;
// blinkTimer->start(blinkInterval);
}
void SystemTray::slotStop()
......@@ -87,6 +89,7 @@ void SystemTray::slotStop()
// private slots
////////////////////////////////////////////////////////////////////////////////
/*
void SystemTray::slotBlink()
{
if(blinkStatus)
......@@ -96,5 +99,6 @@ void SystemTray::slotBlink()
blinkStatus = !blinkStatus;
}
*/
#include "systemtray.moc"
......@@ -43,9 +43,11 @@ signals:
void pause();
void forward();
void back();
private slots:
void slotBlink();
/*
* private slots:
* void slotBlink();
*/
private:
QTimer *blinkTimer;
......
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