diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f73a67e..ab195753 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - default pre-selected installation category is now "Network" (Internet) - UI - - only displaying a confirmation dialog for custom actions that start immediately + - only displaying a confirmation dialog for custom actions that start immediately + - not depending on system's confirmation dialog icon ### Fixes - Web diff --git a/bauh/view/qt/dialog.py b/bauh/view/qt/dialog.py index 0ada9b8a..2de9973c 100644 --- a/bauh/view/qt/dialog.py +++ b/bauh/view/qt/dialog.py @@ -65,8 +65,7 @@ class ConfirmationDialog(QDialog): self.layout().addWidget(container_body) lb_icon = QLabel() - lb_icon.setObjectName('confirm_icon') - lb_icon.setPixmap(QApplication.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(QSize(48, 48))) + lb_icon.setObjectName("confirm_dialog_icon") container_body.layout().addWidget(lb_icon) if body: diff --git a/bauh/view/resources/style/darcula/darcula.qss b/bauh/view/resources/style/darcula/darcula.qss index 9996ec5f..6dc138ce 100644 --- a/bauh/view/resources/style/darcula/darcula.qss +++ b/bauh/view/resources/style/darcula/darcula.qss @@ -420,6 +420,10 @@ QLabel[tip_icon = "true"] { qproperty-pixmap: url("@style_dir/img/help.svg"); } +QLabel#confirm_dialog_icon { + qproperty-pixmap: url("@style_dir/img/question.svg"); +} + FormQt IconButton#clean_field { qproperty-icon: url("@style_dir/img/clean.svg"); } diff --git a/bauh/view/resources/style/darcula/img/help.svg b/bauh/view/resources/style/darcula/img/question.svg similarity index 99% rename from bauh/view/resources/style/darcula/img/help.svg rename to bauh/view/resources/style/darcula/img/question.svg index 29aafd06..9b1e54b1 100644 --- a/bauh/view/resources/style/darcula/img/help.svg +++ b/bauh/view/resources/style/darcula/img/question.svg @@ -15,7 +15,7 @@ height="512" viewBox="0 0 512 512" xml:space="preserve" - sodipodi:docname="help.svg" + sodipodi:docname="question.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">image/svg+xmlimage/svg+xmlimage/svg+xml