Code review comment for lp:~osomon/webbrowser-app/ua-override

Revision history for this message
Günter Schwann (schwann) wrote :

83 +import Ubuntu.Components 0.1
Seem not to be used

Just because I like small functions, I'd move the functionality of getting the domain from a url into it's own function (UserAgent.qml). Easier to read, easier to test, easier to (maybe) reuse.

« Back to merge proposal