src/hbcore/effects/hbeffectcontroller.cpp
changeset 7 923ff622b8b9
parent 5 627c4a0fd0e7
child 34 ed14f46c0e55
--- 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 {