mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 14:24:16 +02:00
refactoring memory and disk cache abstractions
This commit is contained in:
@@ -2,7 +2,7 @@ from PyQt5.QtCore import QSize
|
||||
from PyQt5.QtGui import QIcon
|
||||
from PyQt5.QtWidgets import QDialog, QVBoxLayout, QGroupBox, \
|
||||
QLineEdit, QLabel, QGridLayout, QPushButton, QPlainTextEdit, QToolBar
|
||||
from bauh_api.util.cache import Cache
|
||||
from bauh_api.abstract.cache import MemoryCache
|
||||
|
||||
from bauh.util import util
|
||||
|
||||
@@ -11,7 +11,7 @@ IGNORED_ATTRS = {'name', '__app__'}
|
||||
|
||||
class InfoDialog(QDialog):
|
||||
|
||||
def __init__(self, app: dict, icon_cache: Cache, locale_keys: dict, screen_size: QSize()):
|
||||
def __init__(self, app: dict, icon_cache: MemoryCache, locale_keys: dict, screen_size: QSize()):
|
||||
super(InfoDialog, self).__init__()
|
||||
self.setWindowTitle(app['__app__'].model.base_data.name)
|
||||
self.screen_size = screen_size
|
||||
|
||||
Reference in New Issue
Block a user