Review Request 110247: New web shortcut. Copy link from clipboard

Commit Hook null at kde.org
Thu May 2 12:53:41 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110247/
-----------------------------------------------------------

(Updated May 2, 2013, 11:53 a.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Runtime.


Description
-------

When making a new web shortcut check the clipboard, if it's a url put it in the query line edit.
Just a little time saver. (akregator does something similar)

I used !host().isEmpty() because isValid() is almost always valid.
This will give false positives where the wrong link is placed inside the query box.


This addresses bug 146880.
    http://bugs.kde.org/show_bug.cgi?id=146880


Diffs
-----

  kurifilter-plugins/ikws/searchproviderdlg.cpp 2bb2852 

Diff: http://git.reviewboard.kde.org/r/110247/diff/


Testing
-------

Tested some url's and some random text. Only a url gets selected from the clipboard.


Thanks,

Maarten De Meyer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130502/177c6b1e/attachment.htm>


More information about the kde-core-devel mailing list