Commit d49af3ce authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

BUG: Adding a small offset to click position. This fixes the issue with the test

player not playing tests involving the animation view and adding tracks by
clicking on the '+' button.
parent 511ba93c
......@@ -133,11 +133,11 @@ bool pqAbstractItemViewEventPlayer::playEvent(QObject* Object, const QString& Co
int idx = args[5].toInt();
if(header->orientation() == Qt::Horizontal)
{
pt = QPoint(header->sectionPosition(idx), 4);
pt = QPoint(header->sectionPosition(idx)+4, 4);
}
else
{
pt = QPoint(4, header->sectionPosition(idx));
pt = QPoint(4, header->sectionPosition(idx)+4);
}
}
else
......
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