summaryrefslogtreecommitdiffstats
path: root/examples/models/textfilemodel
diff options
context:
space:
mode:
Diffstat (limited to 'examples/models/textfilemodel')
-rw-r--r--examples/models/textfilemodel/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/textfilemodel/main.cpp b/examples/models/textfilemodel/main.cpp
index 48cf6a2..a775420 100644
--- a/examples/models/textfilemodel/main.cpp
+++ b/examples/models/textfilemodel/main.cpp
@@ -60,7 +60,7 @@ int main(int argc, char **argv)
QQuickView v;
v.rootContext()->setContextProperty("completionModel", &model);
- v.setWindowTitle(QObject::tr("Completion Model with TextFileModel"));
+ v.setTitle(QObject::tr("Completion Model with TextFileModel"));
v.setSource(QString("qrc:/main.qml"));
v.show();