Skip to content

Commit dcac3f7

Browse files
committed
Upversion to 3.2.2
Minor localisation fix for Windows Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
1 parent 5f3bfcc commit dcac3f7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

openhantek/src/OH_BUILD.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Do not edit, will be re-created at each commit!
2-
#define OH_BUILD "20210418 - commit 890"
2+
#define OH_BUILD "20210418 - commit 891"

openhantek/src/main.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ using namespace Hantek;
7575

7676
/// \brief Initialize resources and translations and show the main window.
7777
int main( int argc, char *argv[] ) {
78-
unsetenv( "LANGUAGE" ); // this ENV variable hides the LANG=xx setting
78+
#ifndef Q_OS_WIN
79+
unsetenv( "LANGUAGE" ); // this ENV variable hides the LANG=xx setting, not available under Windows
80+
#endif
7981
//////// Set application information ////////
8082
QCoreApplication::setOrganizationName( "OpenHantek" );
8183
QCoreApplication::setOrganizationDomain( "openhantek.org" );

0 commit comments

Comments
 (0)