Skip to content
Snippets Groups Projects
Commit 2a7026b7 authored by Julien Malik's avatar Julien Malik
Browse files

STYLE: remove tabs

parent 2a7e9408
No related branches found
No related tags found
No related merge requests found
......@@ -69,9 +69,9 @@ I18nApplication
//
// 1. default UI language is english (no translation).
QLocale sys_lc( QLocale::system() );
if( sys_lc.language()==QLocale::C ||
( sys_lc.language()==QLocale::English &&
sys_lc.country()==QLocale::UnitedStates ) )
if( sys_lc.language() == QLocale::C ||
( sys_lc.language() == QLocale::English &&
sys_lc.country() == QLocale::UnitedStates ) )
{
return;
}
......@@ -153,15 +153,15 @@ I18nApplication
bool
I18nApplication
::LoadAndInstallTranslator(const QString& filename,
const QString& directory,
const QString& searchDelimiters,
const QString& suffix )
const QString& directory,
const QString& searchDelimiters,
const QString& suffix )
{
QString filename_ext(
filename +
( suffix.isNull()
? ".qm"
: suffix )
? ".qm"
: suffix )
);
// (a) Do need to new QTranslator() here!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment