mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T111, utility function for local decimal point
This commit is contained in:
committed by
Mathew Sutcliffe
parent
9445bd56a3
commit
bb13a32c7c
@@ -285,6 +285,11 @@ namespace BlackMisc
|
||||
// SystemLocaleLongDate,
|
||||
return QDateTime();
|
||||
}
|
||||
|
||||
QString dotToLocaleDecimalPoint(QString &input)
|
||||
{
|
||||
return input.replace('.', QLocale::system().decimalPoint());
|
||||
}
|
||||
}
|
||||
|
||||
//! \endcond
|
||||
|
||||
Reference in New Issue
Block a user