diff options
-rw-r--r-- | examples/declarative/tutorials/gettingStarted/parts/part5/filedialog/directory.cpp | 2 |
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 5fc60664..bdf450eb 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 Q_UNUSED(property) Q_UNUSED(file) |