From 867b142021ee6e45a6be6a1628f4e03ec01e31ea Mon Sep 17 00:00:00 2001
From: Mohcine Chraibi <m.chraibi@fz-juelich.de>
Date: Fri, 5 Apr 2019 22:29:53 +0200
Subject: [PATCH] correct path to logo

---
 forms/icons.qrc    | 1 +
 src/MainWindow.cpp | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/forms/icons.qrc b/forms/icons.qrc
index fb0945a..b7746b6 100644
--- a/forms/icons.qrc
+++ b/forms/icons.qrc
@@ -5,6 +5,7 @@
     <file>icons/Play1Hot.png</file>
     <file>icons/Stop1PressedBlue.png</file>
     <file>icons/JPSvis.png</file>
+    <file>icons/JPSvis.icns</file>
     <file>icons/PauseHot.png</file>
     <file>icons/RecordPressed.png</file>
   </qresource>
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index de99792..8f46d9c 100755
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -358,8 +358,9 @@ void MainWindow::slotHelpAbout()
 
 
 QMessageBox msg(QMessageBox::Information,"About JPSvis", gittext+text, QMessageBox::Ok);
+QString logo = ":/new/iconsS/icons/JPSvis.icns" ;
+msg.setIconPixmap(QPixmap(logo));
 
-msg.setIconPixmap(QPixmap("../forms/icons/JPSvis.icns"));
     //Change font
 QFont font( "Tokyo" );
 font.setPointSize( 10 );
-- 
GitLab