~ubuntu-branches/ubuntu/saucy/kde-runtime/saucy-proposed

« back to all changes in this revision

Viewing changes to plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp

  • Committer: Package Import Robot
  • Author(s): Michał Zając
  • Date: 2013-06-28 18:04:21 UTC
  • mfrom: (1.1.29)
  • Revision ID: package-import@ubuntu.com-20130628180421-b5wa9b7u0brg7nnw
Tags: 4:4.10.90-0ubuntu1
New upstream bet release

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
    m_pressed = false;
130
130
    emit released(&dme);
131
131
 
132
 
    if (QPointF(me->pos() - me->buttonDownPos(me->button())).manhattanLength() <= QApplication::startDragDistance() && m_pressAndHoldTimer->isActive()) {
 
132
    if (boundingRect().contains(me->pos()) && m_pressAndHoldTimer->isActive()) {
133
133
        emit clicked(&dme);
134
134
        m_pressAndHoldTimer->stop();
135
135
    }