summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-01-27 17:05:04 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-29 12:51:40 +0100
commit9e1e81ecc2c88c97991b6bd93cbf4c660272b5c6 (patch)
tree49aa69edd718983b8d542f2dbff95c12319bea2d
parentf0671d1c2d58a990c98133047c1eb182a7419083 (diff)
Fix warning about unused variables in getting-started tutorial.
Change-Id: Ic7945d59fb0dd207997698259e770af626f9e7e7 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
-rw-r--r--examples/declarative/tutorials/gettingStarted/parts/part5/filedialog/directory.cpp2
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)
}
/*