From 0c4d31d8c9cdab18743bde17de5ea0bd0daf02e5 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Tue, 9 May 2017 12:42:18 +0200 Subject: Improve the findfiles example: use QDirIterator, etc It hasn't been necessary for a long time now to write the recursive file-find function manually. It has just been an obscurely documented feature of QDirIterator for far too long. Demonstrate the new QLocale::formattedDataSize() function. Also sync up the qdoc description of this example with the recent changes. Change-Id: I9c2bb15bb5ec353d38181b160f0be198774cbea2 Reviewed-by: Robin Burchell Reviewed-by: Shawn Rutledge --- examples/widgets/dialogs/findfiles/window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/widgets/dialogs/findfiles/window.h') diff --git a/examples/widgets/dialogs/findfiles/window.h b/examples/widgets/dialogs/findfiles/window.h index fe217381e2..949df704bb 100644 --- a/examples/widgets/dialogs/findfiles/window.h +++ b/examples/widgets/dialogs/findfiles/window.h @@ -79,7 +79,7 @@ private slots: private: QStringList findFiles(const QStringList &files, const QString &text); - void showFiles(const QStringList &files); + void showFiles(const QStringList &paths); QComboBox *createComboBox(const QString &text = QString()); void createFilesTable(); -- cgit v1.2.3