summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/snippets/qtbinding/custompalette
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-23 03:52:24 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-23 03:52:24 (GMT)
commitc8359ce7b9ec72c100d8b46f8ac86ec6e8fbed02 (patch)
treece554a355f1a91891fbd1cb388fafa6fb65b54f4 /doc/src/declarative/snippets/qtbinding/custompalette
parente24aa4af60718e17405871fb3776107adc0b36f1 (diff)
downloadQt-c8359ce7b9ec72c100d8b46f8ac86ec6e8fbed02.zip
Qt-c8359ce7b9ec72c100d8b46f8ac86ec6e8fbed02.tar.gz
Qt-c8359ce7b9ec72c100d8b46f8ac86ec6e8fbed02.tar.bz2
Collection of small doc improvements
Diffstat (limited to 'doc/src/declarative/snippets/qtbinding/custompalette')
-rw-r--r--doc/src/declarative/snippets/qtbinding/custompalette/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/declarative/snippets/qtbinding/custompalette/main.cpp b/doc/src/declarative/snippets/qtbinding/custompalette/main.cpp
index c723688..dc651f6 100644
--- a/doc/src/declarative/snippets/qtbinding/custompalette/main.cpp
+++ b/doc/src/declarative/snippets/qtbinding/custompalette/main.cpp
@@ -53,7 +53,7 @@ int main(int argc, char *argv[])
QDeclarativeView view;
view.rootContext()->setContextProperty("palette", new CustomPalette);
- view.setSource(QUrl("main.qml"));
+ view.setSource(QUrl::fromLocalFile("main.qml"));
view.show();
return app.exec();