src/hbcore/effects/hbeffectcontroller.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 5 627c4a0fd0e7
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
   188         *shared = false;
   188         *shared = false;
   189         return fn;
   189         return fn;
   190     } else {
   190     } else {
   191         // Try the theme, will return the same name if not found in the theme.
   191         // Try the theme, will return the same name if not found in the theme.
   192         bool temp;
   192         bool temp;
   193         return HbEffectTheme::global()->getEffectXml(fn, fromTheme ? *fromTheme : temp);
   193         return HbEffectTheme::instance()->getEffectXml(fn, fromTheme ? *fromTheme : temp);
   194     }
   194     }
   195 }
   195 }
   196 
   196 
   197 bool HbEffectController::addEffectDefinitionFile(
   197 bool HbEffectController::addEffectDefinitionFile(
   198     const QString &componentType, QGraphicsItem *item,
   198     const QString &componentType, QGraphicsItem *item,