diff options
author | Dennis Oberst <[email protected]> | 2023-02-28 18:47:05 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <[email protected]> | 2023-03-21 05:14:04 +0000 |
commit | 6ea0d5756553df37042e1560efa01eb2857e31be (patch) | |
tree | 1a0552700e155db9a2903d18cbcbb6eeceb93c7a /examples/qtconcurrent/progressdialog/main.cpp | |
parent | 6c00b495a67b8fc37d3456eb33fe5a645bcb2887 (diff) |
Example: update wordcount example
Added a QFileDialog to let the user select a path. Before, the path
was statically assigned with "../../" , which is not optimal.
I also modified the findFiles function to check for text files in
general and not only *.cpp and *.h files. Lastly the result of the
word counting is now displayed on the console, as I think this is an
informative output from this example.
Task-number: QTBUG-111165
Change-Id: Ie27c6acb4f79a78e3bef141edb92de08901fde71
Reviewed-by: MÃ¥rten Nordheim <[email protected]>
(cherry picked from commit d795dfaee7093a30b278e6e8b9dea30c2e7a2106)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Diffstat (limited to 'examples/qtconcurrent/progressdialog/main.cpp')
0 files changed, 0 insertions, 0 deletions