diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-01-27 17:05:04 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-29 12:51:40 +0100 |
commit | 9e1e81ecc2c88c97991b6bd93cbf4c660272b5c6 (patch) | |
tree | 49aa69edd718983b8d542f2dbff95c12319bea2d /examples/declarative | |
parent | f0671d1c2d58a990c98133047c1eb182a7419083 (diff) | |
download | qtquick1-9e1e81ecc2c88c97991b6bd93cbf4c660272b5c6.tar.gz |
Fix warning about unused variables in getting-started tutorial.
Change-Id: Ic7945d59fb0dd207997698259e770af626f9e7e7
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'examples/declarative')
-rw-r--r-- | examples/declarative/tutorials/gettingStarted/parts/part5/filedialog/directory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/declarative/tutorials/gettingStarted/parts/part5/filedialog/directory.cpp b/examples/declarative/tutorials/gettingStarted/parts/part5/filedialog/directory.cpp index 0824e08c..5fc60664 100644 --- a/examples/declarative/tutorials/gettingStarted/parts/part5/filedialog/directory.cpp +++ b/examples/declarative/tutorials/gettingStarted/parts/part5/filedialog/directory.cpp @@ -76,6 +76,8 @@ Function called to append data onto list property */ void appendFiles(QDeclarativeListProperty<File> * property, File * file){ //Do nothing. can't add to a directory using this method + Q_UNUSED(property) + Q_UNUSED(file) } /* |