~zsombi/ubuntu-ui-toolkit/popup

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/plugin/plugin.cpp

  • Committer: Zsombor Egri
  • Date: 2016-01-11 07:08:04 UTC
  • mfrom: (1797.1.5 fixDefaultTheme)
  • Revision ID: zsombor.egri@canonical.com-20160111070804-qzyl62649ghsd4d2
prereq sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
287
287
    // that can be accessed from any object
288
288
    context->setContextProperty("QuickUtils", &QuickUtils::instance());
289
289
 
290
 
    // register theme context property
291
 
    UCTheme::registerToContext(context);
292
 
 
293
 
    UCDeprecatedTheme::instance().registerToContext(context);
294
 
 
295
 
    HapticsProxy::instance().setEngine(context->engine());
 
290
    // create default theme and register theme context property
 
291
    UCTheme::createDefaultTheme(engine);
 
292
 
 
293
    UCDeprecatedTheme::registerToContext(context);
 
294
 
 
295
    HapticsProxy::instance().setEngine(engine);
296
296
 
297
297
    context->setContextProperty("i18n", &UbuntuI18n::instance());
298
298
    ContextPropertyChangeListener *i18nChangeListener =