Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 04c8fee3 authored by Scott Wheeler's avatar Scott Wheeler

Use mouse release rather than mouse press for showing and hiding the cover


svn path=/trunk/kdemultimedia/juk/; revision=363243
parent f0490299
......@@ -41,7 +41,7 @@ struct CoverPopup : public QWidget
virtual void leaveEvent(QEvent *) { close(); }
virtual void mousePressEvent(QMouseEvent *) { close(); }
virtual void mouseReleaseEvent(QMouseEvent *) { close(); }
......@@ -117,7 +117,7 @@ void CoverItem::update(const FileHandle &file)
void CoverItem::mousePressEvent(QMouseEvent *event)
void CoverItem::mouseReleaseEvent(QMouseEvent *event)
if(event->button() == LeftButton &&
......@@ -74,7 +74,7 @@ class CoverItem : public QLabel, public NowPlayingItem
CoverItem(NowPlaying *parent);
virtual void update(const FileHandle &file);
virtual void mousePressEvent(QMouseEvent *event);
virtual void mouseReleaseEvent(QMouseEvent *event);
virtual void dragEnterEvent(QDragEnterEvent *e);
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