https://bugs.kde.org/show_bug.cgi?id=259624
--- Comment #2 from Torgny Nyblom <kde nyblom org> 2010-12-26 21:27:43 --- commit 4820015984b4740fa14b45a0717057cae1472b45 branch master Author: Torgny Nyblom <[email protected]> Date: Sun Dec 26 21:20:01 2010 +0100 Reenable context menu for empty links, ie right click on message. Might affect kmail mobile as described in bugs: 249620, 249905 CCBUG: 259624 CCMAIL: [email protected] diff --git a/messageviewer/mailwebview_webkit.cpp b/messageviewer/mailwebview_webkit.cpp index 03b81ce..2d5c24b 100644 --- a/messageviewer/mailwebview_webkit.cpp +++ b/messageviewer/mailwebview_webkit.cpp @@ -70,8 +70,10 @@ bool MailWebView::event( QEvent *event ) const QWebFrame * const frame = page()->currentFrame(); const QWebHitTestResult hit = frame->hitTestContent( contextMenuEvent->pos() ); kDebug() << "Right-clicked URL:" << hit.linkUrl(); +#ifdef Q_OS_WINCE if ( !hit.linkUrl().isEmpty() ) - emit popupMenu( hit.linkUrl().toString(), mapToGlobal( contextMenuEvent->pos() ) ); +#endif + emit popupMenu( hit.linkUrl().toString(), mapToGlobal( contextMenuEvent->pos() ) ); event->accept(); return true; } -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-bugs
