Commit ba2e9626 authored by Michael Pyne's avatar Michael Pyne

Fix a potential issue with -fvisibility that SadEagle pointed out. This...

Fix a potential issue with -fvisibility that SadEagle pointed out.  This apparently only matters for patched GCC 3.4's but it's better to be safe than sorry, especially since a lot of distros patch GCC 3.4.

svn path=/trunk/KDE/kdemultimedia/juk/; revision=431329
parent b07ea8d5
......@@ -175,12 +175,10 @@ bool StatusLabel::eventFilter(QObject *o, QEvent *e)
if(!o || !e)
return false;
QMouseEvent *mouseEvent = dynamic_cast<QMouseEvent *>(e);
if(mouseEvent &&
mouseEvent->state() == LeftButton &&
QMouseEvent *mouseEvent = static_cast<QMouseEvent *>(e);
if(e->type() == QEvent::MouseButtonRelease &&
mouseEvent->button() == LeftButton)
{
if(o == m_itemTimeLabel) {
m_showTimeRemaining = !m_showTimeRemaining;
updateTime();
......
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