~unity-ui-team/ubuntu-ui-toolkit/trunk-ubuntu-ui-toolkit-image-extension-crash-workaround

« back to all changes in this revision

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

  • Committer: CI Train Bot
  • Author(s): Albert Astals Cid, Zsombor Egri, Loïc Molinari, Tim Peeters, Zoltán Balogh, Christian Dywan
  • Date: 2015-12-16 10:01:43 UTC
  • mfrom: (1000.720.21 OTA9-landing-2015-12-11)
  • Revision ID: ci-train-bot@canonical.com-20151216100143-hhgmd51xeu09z0np
OTA9-landing-2015-12-11
Approved by: Zoltan Balogh

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
    }
480
480
}
481
481
 
482
 
void UCStyledItemBasePrivate::completeStyledItem()
 
482
/*
 
483
 * The method is called on component completion, separated for the cases when
 
484
 * the component is embedded in another CPP component and functionality depends
 
485
 * on this initialization.
 
486
 */
 
487
void UCStyledItemBasePrivate::completeComponentInitialization()
483
488
{
484
489
    // no animation at this time
485
490
    // prepare style context if not been done yet
494
499
    // make sure the theme version is up to date
495
500
    d->styleVersion = d->importVersion(this);
496
501
    UCTheme::checkMixedVersionImports(this, d->styleVersion);
497
 
    d->completeStyledItem();
 
502
    d->completeComponentInitialization();
498
503
}
499
504
 
500
505
void UCStyledItemBase::itemChange(ItemChange change, const ItemChangeData &data)