[Bug 259624] context menu in mail reader missing, e.g. to save multiple attachment
Torgny Nyblom
kde at nyblom.org
Sun Dec 26 20:27:45 GMT 2010
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 <kde at nyblom.org>
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: adam at kde.org
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.
More information about the Kdepim-bugs
mailing list