Update qutebrowser/completion/models/filepathcategory.py
Co-authored-by: Florian Bruhin <me@the-compiler.org>
This commit is contained in:
parent
e95e7991d9
commit
8c9d9c74c8
|
|
@ -28,8 +28,8 @@ from PyQt5.QtCore import QAbstractListModel, QModelIndex
|
|||
class FilePathCategory(QAbstractListModel):
|
||||
"""Represent filesystem paths matching a pattern."""
|
||||
|
||||
def __init__(self, name: str):
|
||||
super().__init__()
|
||||
def __init__(self, name: str, parent: QObject = None) -> None:
|
||||
super().__init__(parent)
|
||||
self._paths: list = []
|
||||
self.name = name
|
||||
self.columns_to_filter = [0]
|
||||
|
|
|
|||
Loading…
Reference in New Issue