summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-01-17 11:54:35 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-29 10:51:44 +0100
commit07d8ce32b1112dcb590c793ee51cb713e514011b (patch)
treec2aa9921fdb729ae98743b9f62d723a232c44ecf
parent281d54501ebf7088459354037b02746a7c77f3b6 (diff)
Fix compiler warning in example.old/5.2
Change-Id: Ie57d6e5c8811a7845c55a069150de2fe0f796599 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..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<File> * property, File * file){
+ Q_UNUSED(property);
+ Q_UNUSED(file);
//Do nothing. can't add to a directory using this method
}