Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c137821
)
Correction for Localizer
author
vsr
<vsr@opencascade.com>
Wed, 11 Mar 2020 15:30:40 +0000
(18:30 +0300)
committer
vsr
<vsr@opencascade.com>
Wed, 11 Mar 2020 15:30:40 +0000
(18:30 +0300)
src/Qtx/Qtx.cxx
patch
|
blob
|
history
diff --git
a/src/Qtx/Qtx.cxx
b/src/Qtx/Qtx.cxx
index b7a173f37b2dcccd8223f3c659343e36e03db9b9..f5c5d8942d8305a247063b2697f43b87ba1fd5c5 100644
(file)
--- a/
src/Qtx/Qtx.cxx
+++ b/
src/Qtx/Qtx.cxx
@@
-1763,7
+1763,7
@@
Qtx::Localizer::Localizer()
}
/*!
- \brief
Default constructor. Forces "C" locale to be set as LC_NUMERIC
.
+ \brief
Constructor. Forces \a locale to be set for \a category
.
*/
Qtx::Localizer::Localizer( int category, const char* locale )
{
@@
-1786,7
+1786,7
@@
void Qtx::Localizer::init( int category, const char* locale )
*/
Qtx::Localizer::~Localizer()
{
- setlocale(
LC_NUMERIC
, myOriginalLocale.toLatin1().constData() );
+ setlocale(
myCategory
, myOriginalLocale.toLatin1().constData() );
}
/*!