diff --git a/debian/changelog b/debian/changelog index e18ef73..53cf563 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +applauncherd (0.29.9) unstable; urgency=low + + * Fixes: NB#247707 - Invoker interferes with qttas plugin loading for qml applications + + -- Pertti Kellomaki Wed, 25 May 2011 14:18:05 +0300 + applauncherd (0.29.8) stable; urgency=low * Fixes: NB#231286 - Launcher daemon doesn't link the libraries so that they could be prelinked diff --git a/src/qdeclarativebooster/mdeclarativecache.cpp b/src/qdeclarativebooster/mdeclarativecache.cpp index cdd8e04..fcd2e6d 100644 --- a/src/qdeclarativebooster/mdeclarativecache.cpp +++ b/src/qdeclarativebooster/mdeclarativecache.cpp @@ -33,10 +33,6 @@ #include "coverage.h" -// Environment -extern char ** environ; - - MDeclarativeCachePrivate * const MDeclarativeCache::d_ptr = new MDeclarativeCachePrivate; const int MDeclarativeCachePrivate::ARGV_LIMIT = 32; @@ -128,17 +124,8 @@ QApplication* MDeclarativeCachePrivate::qApplication(int &argc, char **argv) } } - bool loadTestabilityEnv = false; - const char* testabilityEnv = "QT_LOAD_TESTABILITY"; - for (int i = 0; environ[i] != NULL; i++) - { - if (strcmp(environ[i], testabilityEnv) == 0) - { - loadTestabilityEnv = true; - break; - } - } - + + bool loadTestabilityEnv = !qgetenv("QT_LOAD_TESTABILITY").isNull(); if (loadTestabilityEnv || loadTestabilityArg) testabilityInit();