+2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * 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.
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();
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);