diff options
Diffstat (limited to 'examples/declarative/extending/attached/main.cpp')
-rw-r--r-- | examples/declarative/extending/attached/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/extending/attached/main.cpp b/examples/declarative/extending/attached/main.cpp index 1f10cd0..8b05b9d 100644 --- a/examples/declarative/extending/attached/main.cpp +++ b/examples/declarative/extending/attached/main.cpp @@ -10,7 +10,7 @@ int main(int argc, char ** argv) QCoreApplication app(argc, argv); QmlEngine engine; - QmlComponent component(&engine, QUrl::fromLocalFile(":example.qml")); + QmlComponent component(&engine, ":example.qml"); BirthdayParty *party = qobject_cast<BirthdayParty *>(component.create()); if (party && party->celebrant()) { |