From c77af37a22c6aa711f2309b206cc5e2af6a8485e Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Thu, 17 Oct 2019 10:42:02 -0300 Subject: [PATCH] new root dialog icon --- bauh/view/qt/root.py | 2 +- bauh/view/resources/img/lock.png | Bin 0 -> 519 bytes bauh/view/resources/img/lock.svg | 138 ------------------------------- 3 files changed, 1 insertion(+), 139 deletions(-) create mode 100755 bauh/view/resources/img/lock.png delete mode 100755 bauh/view/resources/img/lock.svg diff --git a/bauh/view/qt/root.py b/bauh/view/qt/root.py index efc76a60..890c487f 100644 --- a/bauh/view/qt/root.py +++ b/bauh/view/qt/root.py @@ -19,7 +19,7 @@ def ask_root_password(locale_keys: dict): 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'))) + diag.setWindowIcon(QIcon(resource.get_path('img/lock.png'))) diag.setWindowTitle(locale_keys['popup.root.title']) diag.setLabelText('') diag.setCancelButtonText(locale_keys['popup.button.cancel']) diff --git a/bauh/view/resources/img/lock.png b/bauh/view/resources/img/lock.png new file mode 100755 index 0000000000000000000000000000000000000000..bffba1819327f6c2e453279f214b41f8ac351a1c GIT binary patch literal 519 zcmV+i0{H!jP)kH( zY|dIUB@t->=%HFY5jm+dIRy|BCPM`gY0Wgr^L!gXKc>yBQxwIus@|AcXQJ27^L%^C zNL3$VP*tx0aCB~5&c)3Al#!Xek8+3bRJHvO!c&y$Z8-1ByE$fFiTK+pBLH{9nweJt zxRDVNEfY~AO4mskJx9Yvxt22T{g$fkW?2^VJ4I3KS9tBj16AGg-aoRLb<1sW)JIjK zQe!LtpAk`WqA>~9iHWG`YOy)>KSlt&svfE8F%kKslbMZu7O_O+Y{-eoMHOde{bV9$ zULQqwZY{~0S)Z8~E4KE{%p1QYKA3r_f*WMB8WX8{L_}tm - - -image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file