summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}