mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 23:34:15 +02:00
refactoring memory and disk cache abstractions
This commit is contained in:
@@ -4,13 +4,13 @@ from functools import reduce
|
||||
from PyQt5.QtCore import Qt
|
||||
from PyQt5.QtGui import QColor
|
||||
from PyQt5.QtWidgets import QDialog, QVBoxLayout, QTableWidget, QTableWidgetItem, QHeaderView
|
||||
from bauh_api.abstract.cache import MemoryCache
|
||||
from bauh_api.abstract.model import PackageHistory
|
||||
from bauh_api.util.cache import Cache
|
||||
|
||||
|
||||
class HistoryDialog(QDialog):
|
||||
|
||||
def __init__(self, history: PackageHistory, icon_cache: Cache, locale_keys: dict):
|
||||
def __init__(self, history: PackageHistory, icon_cache: MemoryCache, locale_keys: dict):
|
||||
super(HistoryDialog, self).__init__()
|
||||
|
||||
self.setWindowTitle('{} - {} '.format(locale_keys['popup.history.title'], history.pkg.base_data.name))
|
||||
|
||||
Reference in New Issue
Block a user