dev 02020935

This commit is contained in:
Julian Freeman
2024-02-02 09:35:56 -04:00
parent a69ba157a5
commit d84b107177
8 changed files with 129 additions and 44 deletions

View File

@@ -60,7 +60,7 @@ class DaShowProfiles(QtWidgets.QDialog):
def __init__(self,
browser: str,
is_chrome_compat: bool,
is_compat: bool,
profiles_data: ProfilesData,
ext_id: str,
ext_name: str,
@@ -71,7 +71,7 @@ class DaShowProfiles(QtWidgets.QDialog):
self.setWindowTitle(ext_name)
self.setWindowIcon(ext_icon)
self.browser = browser
self.is_chrome_compat = is_chrome_compat
self.is_compat = is_compat
self.process = QtCore.QProcess(self)
@@ -132,7 +132,7 @@ class DaShowProfiles(QtWidgets.QDialog):
def on_pbn_delete_selected_clicked(self):
us = QtCore.QSettings()
user_data_path = str(us.value(f"{self.browser}Data", ""))
if self.browser == "Chrome" and self.is_chrome_compat:
if self.is_compat:
pref_name = "Preferences"
else:
pref_name = "Secure Preferences"