Commit 3369040d authored by Scott Wheeler's avatar Scott Wheeler

This is the right way to do this...

svn path=/trunk/kdemultimedia/juk/; revision=307677
parent 74437a97
......@@ -41,7 +41,10 @@
class TrackPositionSlider : public QSlider
{
public:
TrackPositionSlider(QWidget *parent, const char *name) : QSlider(parent, name) {}
TrackPositionSlider(QWidget *parent, const char *name) : QSlider(parent, name)
{
setFocusPolicy(NoFocus);
}
protected:
virtual void mousePressEvent(QMouseEvent *e)
......@@ -56,7 +59,6 @@ protected:
QSlider::mousePressEvent(&reverse);
}
}
virtual void focusInEvent(QFocusEvent *) { clearFocus(); }
};
////////////////////////////////////////////////////////////////////////////////
......
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