Commit a495f5f1 authored by Claudio Valerio's avatar Claudio Valerio

fixed the algorithm

parent 8a6b3e3f
...@@ -256,7 +256,7 @@ void UBApplication::setupTranslators(QStringList args) ...@@ -256,7 +256,7 @@ void UBApplication::setupTranslators(QStringList args)
qtGuiTranslationPath = ""; qtGuiTranslationPath = "";
} }
if(qtGuiTranslationPath.isEmpty()){ if(!qtGuiTranslationPath.isEmpty()){
qDebug() << "qtGuiTranslationPath " << qtGuiTranslationPath; qDebug() << "qtGuiTranslationPath " << qtGuiTranslationPath;
mQtGuiTranslator->load(qtGuiTranslationPath); mQtGuiTranslator->load(qtGuiTranslationPath);
installTranslator(mQtGuiTranslator); 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