- Changed handling of locale to accept "C" Dec 2023 - 2.3.3 - WIP: Started to reduce the possibility of SQLi with the use of prepared statements. - Bugfix: Sat QSO edit was not showing the worked SAT (Closes #645) - Bugfix: After editing a QSO, the restore was not working properly. (Closes #649) - Bugfix: In Sat QSO, still not selected band may make the QSO unusable. (Closes #651) - Bugfix: All Gridsquares are now listed when Export to ADIF is used. (Closes #514) - Bugfix: Selecting a sat with a new band made the bandcombobox unusable. #613 - Bugfix: F1 (online manual link fixed (Closes #627) (TNX ikbenkous) - Bugfix: 'Usage' does not properly handle arguments, print newlines or return status codes (Closes #625) (TNX ikbenkous) - Enhancement: Improved the Frequency entry. (Closes #622) (TNX ikbenkous) - Enhancement: Use a good discriminator in header guards (Closes #624) (TNX ikbenkous)
14 lines
625 B
C++
14 lines
625 B
C++
--- src/main.cpp.orig 2023-12-26 00:00:15 UTC
|
|
+++ src/main.cpp
|
|
@@ -151,6 +151,10 @@ int main(int argc, char *argv[])
|
|
myappTranslator.load(QCoreApplication::applicationDirPath() + "/translations/klog_" + (QLocale::system().name())); /* Flawfinder: ignore */
|
|
}
|
|
|
|
+ else if (((QLocale::system().name()).left(1)) == "C") /* Flawfinder: ignore */
|
|
+ { // If language is C, it will execute without showing message
|
|
+
|
|
+ }
|
|
else if (((QLocale::system().name()).left(2)) == "en") /* Flawfinder: ignore */
|
|
{ // If language is English, it will execute without showing message
|
|
|