Changeset 41360 in webkit
- Timestamp:
- Mar 2, 2009 8:55:35 AM (15 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qwebpage.cpp
r41210 r41360 1484 1484 break; 1485 1485 } 1486 case CopyLinkToClipboard: 1486 case CopyLinkToClipboard: { 1487 #if defined(Q_WS_X11) 1488 bool oldSelectionMode = Pasteboard::generalPasteboard()->isSelectionMode(); 1489 Pasteboard::generalPasteboard()->setSelectionMode(true); 1487 1490 editor->copyURL(d->hitTestResult.linkUrl(), d->hitTestResult.linkText()); 1488 break; 1491 Pasteboard::generalPasteboard()->setSelectionMode(oldSelectionMode); 1492 #endif 1493 editor->copyURL(d->hitTestResult.linkUrl(), d->hitTestResult.linkText()); 1494 break; 1495 } 1489 1496 case OpenImageInNewWindow: 1490 1497 openNewWindow(d->hitTestResult.imageUrl(), frame); -
trunk/WebKit/qt/ChangeLog
r41210 r41360 1 2009-03-02 Benjamin C Meyer <benjamin.meyer@torchmobile.com> 2 3 Reviewed by George Staikos. 4 5 https://bugs.webkit.org/show_bug.cgi?id=21230 6 On X11 match the behavior of Firefox and also copy the url to the 7 clipboard selection when the action Copy Link Location is executed. 8 9 * Api/qwebpage.cpp: 10 (QWebPage::triggerAction): 11 1 12 2009-02-25 Kavindra Palaraja <kavindra.palaraja@nokia.com> 2 13
Note: See TracChangeset
for help on using the changeset viewer.