Acoustic inversion: Fix path icon.

dev
Pierre-Antoine 2025-04-25 09:29:20 +02:00
parent 965b222e65
commit 3267ada1be
1 changed files with 2 additions and 2 deletions

View File

@ -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 !")