diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-25 04:32:05 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-25 04:32:05 (GMT) |
commit | f20433bb8b72589fff27ec66f2e283b2f48fb019 (patch) | |
tree | eff79a8e3b7fab75153564b124339a60d3c19353 | |
parent | a20828a110ad35a7a98a6234ca0013203d9f8b61 (diff) | |
download | Qt-f20433bb8b72589fff27ec66f2e283b2f48fb019.zip Qt-f20433bb8b72589fff27ec66f2e283b2f48fb019.tar.gz Qt-f20433bb8b72589fff27ec66f2e283b2f48fb019.tar.bz2 |
Pen is not a creatable type.
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp index 1a48cbd..07d7f4d 100644 --- a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp @@ -114,7 +114,6 @@ void QDeclarativeItemModule::defineModule() qmlRegisterType<QDeclarativePathPercent>("Qt",4,6,"PathPercent"); qmlRegisterType<QDeclarativePathQuad>("Qt",4,6,"PathQuad"); qmlRegisterType<QDeclarativePathView>("Qt",4,6,"PathView"); - qmlRegisterType<QDeclarativePen>("Qt",4,6,"Pen"); qmlRegisterType<QIntValidator>("Qt",4,6,"QIntValidator"); #if (QT_VERSION >= QT_VERSION_CHECK(4,7,0)) qmlRegisterType<QDoubleValidator>("Qt",4,7,"QDoubleValidator"); @@ -146,6 +145,7 @@ void QDeclarativeItemModule::defineModule() qmlRegisterType<QValidator>(); qmlRegisterType<QDeclarativeVisualModel>(); qmlRegisterType<QAction>(); + qmlRegisterType<QDeclarativePen>(); #ifdef QT_WEBKIT_LIB qmlRegisterType<QDeclarativeWebSettings>(); #endif |