aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/pixmapwidget.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-09-30 16:38:10 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-09-30 16:38:10 +0000
commit97adebbb8689671e6045d09f84456f28566aa3ed (patch)
treee4202f9e64512ceb82f7be8bac42076b1af22bbe /src/plugins/Ui/skinned/pixmapwidget.cpp
parente3da4a8739f801d83ee4386a559e9cd010398101 (diff)
downloadqmmp-97adebbb8689671e6045d09f84456f28566aa3ed.tar.gz
qmmp-97adebbb8689671e6045d09f84456f28566aa3ed.tar.bz2
qmmp-97adebbb8689671e6045d09f84456f28566aa3ed.zip
skinned: improved time indicator in shaded mode (Thomas Perl) (#811)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5621 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/pixmapwidget.cpp')
-rw-r--r--src/plugins/Ui/skinned/pixmapwidget.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/Ui/skinned/pixmapwidget.cpp b/src/plugins/Ui/skinned/pixmapwidget.cpp
index 400cb67b7..0a4b9f8ae 100644
--- a/src/plugins/Ui/skinned/pixmapwidget.cpp
+++ b/src/plugins/Ui/skinned/pixmapwidget.cpp
@@ -44,3 +44,10 @@ void PixmapWidget::paintEvent (QPaintEvent *e)
QPainter paint(this);
style()->drawItemPixmap(&paint, rect(), Qt::AlignCenter, m_pixmap);
}
+
+void PixmapWidget::mousePressEvent(QMouseEvent *e)
+{
+ if (e->button() & Qt::LeftButton) {
+ emit mouseClicked();
+ }
+}