Add __init__.py
This commit is contained in:
parent
696362a0f6
commit
59a19db9a2
@ -1,7 +1,10 @@
|
|||||||
|
"""Utility functions"""
|
||||||
|
|
||||||
from PyQt5.QtCore import QUrl
|
from PyQt5.QtCore import QUrl
|
||||||
|
|
||||||
|
|
||||||
def qurl(url):
|
def qurl(url):
|
||||||
|
"""Get a QUrl from an url string."""
|
||||||
if isinstance(url, QUrl):
|
if isinstance(url, QUrl):
|
||||||
return url
|
return url
|
||||||
if not url.startswith('http://'):
|
if not url.startswith('http://'):
|
||||||
|
1
qutebrowser/widgets/__init__.py
Normal file
1
qutebrowser/widgets/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
"""The Qt widgets needed by qutebrowser."""
|
@ -1,3 +1,5 @@
|
|||||||
|
"""Several widgets in the statusbar."""
|
||||||
|
|
||||||
from PyQt5.QtCore import pyqtSignal
|
from PyQt5.QtCore import pyqtSignal
|
||||||
from PyQt5.QtWidgets import QHBoxLayout, QWidget
|
from PyQt5.QtWidgets import QHBoxLayout, QWidget
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user