1From a2b11501812e0e34bd49b1950bac52dadd4e3cff Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Sat, 15 Oct 2022 15:50:34 +0200
4Subject: [PATCH] rcc: Just dcument file name without full path to reduce qa
5 warnings
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Upstream-Status: Inappropriate [OE specific]
11
12Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
13---
14 src/tools/rcc/rcc.cpp | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/src/tools/rcc/rcc.cpp b/src/tools/rcc/rcc.cpp
18index c5e3d2ae4c..2d76cfd081 100644
19--- a/src/tools/rcc/rcc.cpp
20+++ b/src/tools/rcc/rcc.cpp
21@@ -344,7 +344,7 @@ qint64 RCCFileInfo::writeDataBlob(RCCResourceLibrary &lib, qint64 offset,
22     // some info
23     if (text || pass1) {
24         lib.writeString("  // ");
25-        lib.writeByteArray(m_fileInfo.absoluteFilePath().toLocal8Bit());
26+        lib.writeByteArray(m_fileInfo.baseName().toLocal8Bit());
27         lib.writeString("\n  ");
28     }
29
30