Commit 58eae66e authored by lars's avatar lars
Browse files

Reviewed by Zack and Valgrind

        Initialize variable.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent abbef99e
2007-05-23 Lars Knoll <lars@trolltech.com>
Reviewed by Zack and Valgrind
Initialize variable.
* platform/qt/PlatformMouseEventQt.cpp:
(WebCore::PlatformMouseEvent::PlatformMouseEvent):
2007-05-23 Rob Buis <buis@kde.org>
 
Reviewed by Darin.
......@@ -60,6 +60,8 @@ PlatformMouseEvent::PlatformMouseEvent(QMouseEvent* event, int clickCount)
m_button = RightButton;
else if (event->button() == Qt::MidButton || (event->buttons() & Qt::MidButton))
m_button = MiddleButton;
else
m_button = NoButton;
m_clickCount = clickCount;
m_shiftKey = (event->modifiers() & Qt::ShiftModifier) != 0;
......
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