New web shortcut. Copy link from clipboard
Review Request #110247 - Created April 30, 2013 and submitted
|Maarten De Meyer|
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.
Tested some url's and some random text. Only a url gets selected from the clipboard.