--- a/src/hbcore/effects/hbeffectcontroller.cpp Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbcore/effects/hbeffectcontroller.cpp Tue Jul 06 14:36:53 2010 +0300
@@ -181,7 +181,7 @@
QString HbEffectController::expandFileName(const QString &fn, bool *fromTheme, bool *shared)
{
// Sharing not supported if the file is in Qt resource.
- if (fn.startsWith(QLatin1String(":/")) && shared && *shared) {
+ if (shared && *shared && (fn.startsWith(QLatin1String(":/")) || HbIconLoader::isInPrivateDirectory(fn))) {
*shared = false;
return fn;
} else {