the untranslated coordinates as well.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29607
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+ * Make the qDebug more usable. Do not have an additional newline and print
+ the untranslated coordinates as well.
+
+ * platform/qt/PlatformScrollBarQt.cpp:
+ (WebCore::PlatformScrollbar::handleMouseMoveEvent):
+ (WebCore::PlatformScrollbar::handleMousePressEvent):
+
+2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
* Dead code, remove it
* platform/qt/PlatformScrollBarQt.cpp:
* Dead code, remove it
* platform/qt/PlatformScrollBarQt.cpp:
bool PlatformScrollbar::handleMouseMoveEvent(const PlatformMouseEvent& evt)
{
const QPoint pos = parent()->convertFromContainingWindow(evt.pos());
bool PlatformScrollbar::handleMouseMoveEvent(const PlatformMouseEvent& evt)
{
const QPoint pos = parent()->convertFromContainingWindow(evt.pos());
- //qDebug() << "PlatformScrollbar::handleMouseMoveEvent" << m_opt.rect << pos << endl;
+ //qDebug() << "PlatformScrollbar::handleMouseMoveEvent" << m_opt.rect << pos << evt.pos();
m_opt.state |= QStyle::State_MouseOver;
const QPoint ctlPt = m_opt.rect.topLeft();
m_opt.state |= QStyle::State_MouseOver;
const QPoint ctlPt = m_opt.rect.topLeft();
bool PlatformScrollbar::handleMousePressEvent(const PlatformMouseEvent& evt)
{
const QPoint pos = parent()->convertFromContainingWindow(evt.pos());
bool PlatformScrollbar::handleMousePressEvent(const PlatformMouseEvent& evt)
{
const QPoint pos = parent()->convertFromContainingWindow(evt.pos());
- //qDebug() << "PlatformScrollbar::handleMousePressEvent" << m_opt.rect << pos << endl;
+ //qDebug() << "PlatformScrollbar::handleMousePressEvent" << m_opt.rect << pos << evt.pos();
const QPoint ctlPt = m_opt.rect.topLeft();
m_opt.rect.moveTo(0, 0);
const QPoint ctlPt = m_opt.rect.topLeft();
m_opt.rect.moveTo(0, 0);