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

Maarten De Meyer de.meyer.maarten at gmail.com
Tue Apr 30 12:46:03 BST 2013


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

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/20130430/56def972/attachment.htm>


More information about the kde-core-devel mailing list