[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/tests
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2009-09-30 22:44:32
Message-ID: 1254350672.774556.19344.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1029862 by ilic:

Call to KLocale::removeCatalog() in threads test, to catch the race with translation methods.

 M  +1 -0      klocalizedstringtest.cpp  


--- trunk/KDE/kdelibs/kdecore/tests/klocalizedstringtest.cpp #1029861:1029862
@@ -240,6 +240,7 @@
     futures << QtConcurrent::run(this, &KLocalizedStringTest::correctSubs);
     futures << QtConcurrent::run(this, &KLocalizedStringTest::translateQt);
     futures << QtConcurrent::run(this, &KLocalizedStringTest::translateQt);
+    KGlobal::locale()->removeCatalog("kdelibs4");
     Q_FOREACH(QFuture<void> f, futures)
         f.waitForFinished();
     QThreadPool::globalInstance()->setMaxThreadCount(1); // delete those threads
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic