[rkward-cvs] SF.net SVN: rkward:[3659] trunk/rkward/rkward/windows/rkhtmlwindow.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Wed Jun 1 11:02:01 UTC 2011
Revision: 3659
http://rkward.svn.sourceforge.net/rkward/?rev=3659&view=rev
Author: tfry
Date: 2011-06-01 11:02:00 +0000 (Wed, 01 Jun 2011)
Log Message:
-----------
Workaround for annoying khtmlpart shortcut stealing.
Modified Paths:
--------------
trunk/rkward/rkward/windows/rkhtmlwindow.cpp
Modified: trunk/rkward/rkward/windows/rkhtmlwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkhtmlwindow.cpp 2011-06-01 07:54:54 UTC (rev 3658)
+++ trunk/rkward/rkward/windows/rkhtmlwindow.cpp 2011-06-01 11:02:00 UTC (rev 3659)
@@ -62,6 +62,10 @@
khtmlpart = new KHTMLPart (this, 0, KHTMLPart::BrowserViewGUI);
setPart (khtmlpart);
fixupPartGUI ();
+// WORKAROUND for annoying kdelibs bug in KDE 4.6: https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3310106&group_id=50231
+ QAction *action = khtmlpart->action ("findAheadText");
+ if (action) action->setShortcutContext (Qt::WidgetWithChildrenShortcut);
+// WORKAROUND end
initializeActivationSignals ();
RKXMLGUISyncer::self()->registerChangeListener (khtmlpart, this, SLOT (fixupPartGUI()));
khtmlpart->setSelectable (true);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list