From 9e1e81ecc2c88c97991b6bd93cbf4c660272b5c6 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 27 Jan 2014 17:05:04 +0100 Subject: Fix warning about unused variables in getting-started tutorial. Change-Id: Ic7945d59fb0dd207997698259e770af626f9e7e7 Reviewed-by: Alan Alpert --- .../tutorials/gettingStarted/parts/part5/filedialog/directory.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') 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 * property, File * file){ //Do nothing. can't add to a directory using this method + Q_UNUSED(property) + Q_UNUSED(file) } /* -- cgit v1.2.1