[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Workaround in WebView...
From:       Alexis_Ménard <menard () kde ! org>
Date:       2010-03-22 0:34:46
Message-ID: 81941aea1003211734j2c466364v5a03b921a7bc69b2 () mail ! gmail ! com
[Download RAW message or body]

Hello,


May i know where was the crash? Because i'm sure the workaround is not
needed anymore...

QVariant WebView::itemChange(GraphicsItemChange change, const QVariant &value)
{
    if (change == QGraphicsItem::ItemSceneHasChanged) {
        //FIXME: QWebPage _requires_ a QWidget view to not crash in
places such as
        // WebCore::PopupMenu::show() due to
hostWindow()->platformPageClient() == NULL
        // because QWebPage::d->client is NULL
        d->webView->page()->setView(viewFor(this));
    }
    return QGraphicsWidget::itemChange(change, value);
}

Thank you....
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic