Commit a495f5f1 authored by Claudio Valerio's avatar Claudio Valerio

fixed the algorithm

parent 8a6b3e3f
......@@ -256,7 +256,7 @@ void UBApplication::setupTranslators(QStringList args)
qtGuiTranslationPath = "";
}
if(qtGuiTranslationPath.isEmpty()){
if(!qtGuiTranslationPath.isEmpty()){
qDebug() << "qtGuiTranslationPath " << qtGuiTranslationPath;
mQtGuiTranslator->load(qtGuiTranslationPath);
installTranslator(mQtGuiTranslator);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment