blob: 4ff25a703d2944ee9a7fc1426eec3e5a53aa32bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From 88a738338de271a8784c1fac4b213494a64b8cc4 Mon Sep 17 00:00:00 2001
From: Eduard Kalinowski <eduard_kalinowski@yahoo.de>
Date: Fri, 9 May 2025 10:25:38 +0200
Subject: [PATCH] Hotfix for text locations, report #43
See https://github.com/lancos/ponyprog/issues/43
---
CMakeLists.txt | 1 -
SrcPony/Translator.cpp | 5 -----
2 files changed, 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5e46672..52db2ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -86,7 +86,6 @@ ELSE()
MESSAGE(FATAL_ERROR "-- LibUSB version ${LIBUSB_VERSION} TOO OLD! Please Install this library newer as 1.0.16")
ENDIF()
-
# SET(APP_VERSION "3.1.4")
#
# Set the PonyProg version
diff --git a/SrcPony/Translator.cpp b/SrcPony/Translator.cpp
index 8079e59..cb1a963 100644
--- a/SrcPony/Translator.cpp
+++ b/SrcPony/Translator.cpp
@@ -595,11 +595,6 @@ bool cTranslator::loadTranslation(const QString fname)
if (llEng == "LANGUAGE_CHARSET")
{
llEng = stream.readLine();
-#if USE_QT_VERSION == 6
- stream.setEncoding(QStringConverter::Latin1);
-#else
- stream.setCodec(llEng.toLatin1());
-#endif
continue;
}
|