From 3267ada1bef660a47eaee72cb4a28cdcd9721067 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Fri, 25 Apr 2025 09:29:20 +0200 Subject: [PATCH] Acoustic inversion: Fix path icon. --- View/acoustic_inversion_tab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/View/acoustic_inversion_tab.py b/View/acoustic_inversion_tab.py index 2880f2e..70728c0 100644 --- a/View/acoustic_inversion_tab.py +++ b/View/acoustic_inversion_tab.py @@ -492,7 +492,7 @@ class AcousticInversionTab(QWidget): msgBox.setWindowTitle("Alpha computation error") msgBox.setIconPixmap( QPixmap( - self.path_icon + "no_approved.png" + self._path_icon("no_approved.png") ).scaledToHeight(32, Qt.SmoothTransformation) ) msgBox.setText("Sediment sound attenuation is negative !") @@ -503,7 +503,7 @@ class AcousticInversionTab(QWidget): msgBox.setWindowTitle("Alpha computation error") msgBox.setIconPixmap( QPixmap( - self.path_icon + "no_approved.png" + self._path_icon("no_approved.png") ).scaledToHeight(32, Qt.SmoothTransformation) ) msgBox.setText("Sediment sound attenuation is infinite !")