summaryrefslogtreecommitdiffstats
path: root/examples/models/textfilemodel/main.cpp
diff options
context:
space:
mode:
authorAnselmo L. S. Melo <[email protected]>2014-03-29 18:31:57 -0300
committerAnselmo L. S. Melo <[email protected]>2014-05-09 13:04:53 +0200
commit5a530b2b9e514a83b9e5f2a66f06b37d35cac3f2 (patch)
tree7d782a5a1e5e1b1afe2cf16fa4c546c6af6eedd2 /examples/models/textfilemodel/main.cpp
parent67d58739f5e2fbefd45ff911da244aa4c910529d (diff)
API updatesHEADmaster
This project was developed before the release of Qt 5.0, so some of the APIs had to be updated in order to build again. Change-Id: I579d7170ea0d80bd33aee29ec807461af603b0d3 Reviewed-by: Anselmo L. S. Melo <[email protected]>
Diffstat (limited to 'examples/models/textfilemodel/main.cpp')
-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();