Changeset 57897 in webkit


Ignore:
Timestamp:
Apr 20, 2010 10:41:45 AM (14 years ago)
Author:
Simon Hausmann
Message:

[Qt] Multitouch mocking in QtLauncher doesn't work with QGraphicsView
https://bugs.webkit.org/show_bug.cgi?id=37816

Patch by Kim Grönholm <kim.gronholm@nomovok.com> on 2010-04-20
Reviewed by Simon Hausmann.

Fix multi-touch mocking in QtLauncher when using QGraphicsView.
Test: https://bug-32434-attachments.webkit.org/attachment.cgi?id=44955

  • QtLauncher/main.cpp:

(LauncherWindow::eventFilter):
(LauncherWindow::initializeView):

Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r57894 r57897  
     12010-04-20  Kim Grönholm  <kim.gronholm@nomovok.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        [Qt] Multitouch mocking in QtLauncher doesn't work with QGraphicsView
     6        https://bugs.webkit.org/show_bug.cgi?id=37816
     7       
     8        Fix multi-touch mocking in QtLauncher when using QGraphicsView.
     9        Test: https://bug-32434-attachments.webkit.org/attachment.cgi?id=44955
     10
     11        * QtLauncher/main.cpp:
     12        (LauncherWindow::eventFilter):
     13        (LauncherWindow::initializeView):
     14
    1152010-04-20  MORITA Hajime <morrita@google.com>
    216
  • trunk/WebKitTools/QtLauncher/main.cpp

    r57836 r57897  
    365365
    366366#if QT_VERSION >= QT_VERSION_CHECK(4, 6, 0)
    367     if (!m_touchMocking || obj != m_view)
     367    if (!m_touchMocking)
    368368        return QObject::eventFilter(obj, event);
    369369
     
    635635        connect(view, SIGNAL(currentFPSUpdated(int)), this, SLOT(updateFPS(int)));
    636636
     637        view->installEventFilter(this);
    637638        // The implementation of QAbstractScrollArea::eventFilter makes us need
    638         // to install the event filter on the viewport of a QGraphicsView.
     639        // to install the event filter also on the viewport of a QGraphicsView.
    639640        view->viewport()->installEventFilter(this);
    640641
Note: See TracChangeset for help on using the changeset viewer.