summaryrefslogtreecommitdiffstats
path: root/src/importers/mxpimporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/importers/mxpimporter.cpp')
-rw-r--r--src/importers/mxpimporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/importers/mxpimporter.cpp b/src/importers/mxpimporter.cpp
index 5ad07eb..e4c830d 100644
--- a/src/importers/mxpimporter.cpp
+++ b/src/importers/mxpimporter.cpp
@@ -182,7 +182,7 @@ void MXPImporter::loadIngredients( TQTextStream &stream, Recipe &recipe )
if ( !amount_str.isEmpty() ) // case of amount_str.isEmpty() correctly handled by class default
{
bool ok;
- MixedNumber amount( MixedNumber::fromString( amount_str, &ok ) );
+ MixedNumber amount( MixedNumber::fromString( amount_str, &ok, /* locale_aware = */ false ) );
if ( !ok )
{
addWarningMsg( TQString( i18n( "While loading recipe \"%1\" Invalid amount \"%2\" in the line \"%3\"" ) ).arg( recipe.title ).arg( amount_str ).arg( current.stripWhiteSpace() ) );