diff --git a/qtribu/toolbelt/commons.py b/qtribu/toolbelt/commons.py index 20f54437..1bc4f262 100644 --- a/qtribu/toolbelt/commons.py +++ b/qtribu/toolbelt/commons.py @@ -3,4 +3,12 @@ def open_url_in_browser(url: str) -> bool: + """Opens an url in a browser using user's desktop environment + + :param url: url to open + :type url: str + + :return: true if successful otherwise false + :rtype: bool + """ return QDesktopServices.openUrl(QUrl(url))