Commit f4da4e02 authored by Aleksei Kanash's avatar Aleksei Kanash Committed by Claudio Valerio

Fixed determination of board view for tablet events work around.

parent c51a8159
......@@ -899,7 +899,9 @@ QWidget *UBBoardView::widgetForTabletEvent(QWidget *w, const QPoint &pos)
{
Q_ASSERT(w);
UBBoardView *board = qobject_cast<UBBoardView *>(w);
// it should work that, but it doesn't. So we check if it is control view.
//UBBoardView *board = qobject_cast<UBBoardView *>(w);
UBBoardView *board = UBApplication::boardController->controlView();
QWidget *childAtPos = NULL;
......
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