New web shortcut. Copy link from clipboard

Review Request #110247 - Created April 30, 2013 and submitted

Information
Maarten De Meyer
kde-runtime
146880
Reviewers
kde-runtime
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.

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
David Faure
Commit Hook
This review has been submitted with commit 53a352fb4f8b9604eb454e1b15cd560c8518f3e6 by Maarten De Meyer to branch master.
Maarten De Meyer
Review request changed

Status: Closed (submitted)

Loading...