mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 02:24:02 +02:00
...
This commit is contained in:
parent
e91994ab0e
commit
31b97d7bae
1 changed files with 0 additions and 3 deletions
|
|
@ -23,8 +23,6 @@
|
|||
from calibre.gui2.progress_indicator import ProgressIndicator
|
||||
from calibre.utils.icu import primary_contains, primary_sort_key
|
||||
|
||||
SORT_ROLE = Qt.UserRole
|
||||
|
||||
def read_state(name, default=None):
|
||||
data = tprefs.get('reports-ui-state')
|
||||
if data is None:
|
||||
|
|
@ -156,7 +154,6 @@ def __init__(self, parent=None):
|
|||
f.doubleClicked.connect(self.double_clicked)
|
||||
self.model = m = FilesModel(self)
|
||||
self.proxy = p = ProxyModel(self)
|
||||
p.setSortRole(SORT_ROLE)
|
||||
e.textChanged.connect(p.filter_text)
|
||||
p.setSourceModel(m)
|
||||
f.setModel(p)
|
||||
|
|
|
|||
Loading…
Reference in a new issue