mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 06:24:15 +02:00
custom tray icons
This commit is contained in:
@@ -16,6 +16,7 @@ def is_root():
|
||||
def ask_root_password(locale_keys: dict):
|
||||
|
||||
diag = QInputDialog()
|
||||
diag.setStyleSheet("""QLineEdit { border-radius: 5px; font-size: 16px }""")
|
||||
diag.setInputMode(QInputDialog.TextInput)
|
||||
diag.setTextEchoMode(QLineEdit.Password)
|
||||
diag.setWindowIcon(QIcon(resource.get_path('img/lock.svg')))
|
||||
|
||||
Reference in New Issue
Block a user