aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/referenceexamples/coercion/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/referenceexamples/coercion/main.cpp')
-rw-r--r--examples/qml/referenceexamples/coercion/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/referenceexamples/coercion/main.cpp b/examples/qml/referenceexamples/coercion/main.cpp
index 04a78b05f7..262cdf6320 100644
--- a/examples/qml/referenceexamples/coercion/main.cpp
+++ b/examples/qml/referenceexamples/coercion/main.cpp
@@ -70,7 +70,7 @@ int main(int argc, char ** argv)
QQmlEngine engine;
QQmlComponent component(&engine, QUrl("qrc:example.qml"));
- BirthdayParty *party = qobject_cast<BirthdayParty *>(component.create());
+ auto *party = qobject_cast<BirthdayParty *>(component.create());
if (party && party->host()) {
qWarning() << party->host()->name() << "is having a birthday!";