[Marble-bugs] [Bug 304370] Marble crashed by double click in the stars

marbledeveloper at gmail.com marbledeveloper at gmail.com
Thu Aug 2 08:14:51 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=304370

--- Comment #1 from marbledeveloper at gmail.com ---
This is the problematic code:

    if (e->type() == QEvent::MouseButtonDblClick)
    {
        d->m_lmbTimer.stop();
        QMouseEvent *event = static_cast<QMouseEvent*>( e );
        d->MoveTo(MarbleWidgetInputHandler::d->m_widget, event->pos(), 0.67);
        MarbleWidgetInputHandler::d->m_mouseWheelTimer->start( 400 );
    }

This code is in "bool MarbleWidgetDefaultInputHandler::eventFilter( QObject* o,
QEvent* e )". I have commented this code and now the program doesn't hang.

Anyway, I think that it's necessary to test this behaviour on Windows and fix
this critical bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list