~ubuntu-sdk-team/ubuntu-ui-toolkit/whereDidMyBenchGo

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/plugin/ucdeprecatedtheme.cpp

  • Committer: Tarmac
  • Author(s): Zsombor Egri
  • Date: 2015-05-04 18:51:06 UTC
  • mfrom: (1497.1.25 fix-import-versions)
  • Revision ID: tarmac-20150504185106-h02vh5l8pauu1e07
Fix import versions in entire UITK and examples. Move example code under 1.3 folder. Fixes: https://bugs.launchpad.net/bugs/1447113.

Approved by PS Jenkins bot, Christian Dywan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
QQmlComponent* UCDeprecatedTheme::createStyleComponent(const QString& styleName, QObject* parent)
120
120
{
121
121
    showDeprecatedNote(parent, "Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.");
122
 
    return UCTheme::defaultTheme().createStyleComponent(styleName, parent);
 
122
    return UCTheme::defaultTheme().createStyleComponent(styleName, parent, BUILD_VERSION(1, 2));
123
123
}
124
124
 
125
125
void UCDeprecatedTheme::registerToContext(QQmlContext* context)