From 07d8ce32b1112dcb590c793ee51cb713e514011b Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 17 Jan 2014 11:54:35 +0100 Subject: Fix compiler warning in example. Change-Id: Ie57d6e5c8811a7845c55a069150de2fe0f796599 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..5a84b354 100644 --- a/examples/declarative/tutorials/gettingStarted/parts/part5/filedialog/directory.cpp +++ b/examples/declarative/tutorials/gettingStarted/parts/part5/filedialog/directory.cpp @@ -75,6 +75,8 @@ int Directory:: filesCount() const{ Function called to append data onto list property */ void appendFiles(QDeclarativeListProperty * property, File * file){ + Q_UNUSED(property); + Q_UNUSED(file); //Do nothing. can't add to a directory using this method } -- cgit v1.2.1