List Info

Thread: DataDir stopped working as container for the langfiles




DataDir stopped working as container for the langfiles
country flaguser name
Germany
2007-09-25 16:27:07
Hey,

as I mention in the forums [1] the DataDir, as a folder
where the  
lang files can be placed, stopped working.

Here HUGE ;) patch which fixes that behaviour:
------------------
Index: src/translationmanager.cpp
============================================================
=======
--- src/translationmanager.cpp  (Revision 781)
+++ src/translationmanager.cpp  (Arbeitskopie)
 -99,6
+99,7 
                         if (currentLanguage_ ==
"en") {
                                
QCoreApplication::instance()- 
 >installTranslator(translator_);
                                
QCoreApplication::instance()- 
 >installTranslator(qt_translator_);
+                               break;
                         }
                         currentLanguage_ = language;
                 }
------------------

I think another call, after installing a found translator,
to  
translator_->load or the qt_translator_->load
disturbes something  
there, but that is just a guess.

Ciao Ephraim
[1] http://forum.psi-i
m.org/post/31967
_______________________________________________
Psi-Devel mailing list
Psi-Devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )