diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-03-09 15:49:03 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-03-12 08:23:45 +0100 |
commit | 2c390e85cffbfa1eaeabaadfa823abcb61c1156a (patch) | |
tree | 526d6e361723924d832ed1bca6c57246284e256c /examples/corelib/threads/doc/src/mandelbrot.qdoc | |
parent | 5f940253bfde4b5336ff13be063f64bd1c1dbe49 (diff) |
QFileDialog: Improve default implementation of getOpenFileContent()
Use QFileDialog::ExistingFile and check whether file can be opened,
fixing warnings like:
QIODevice::read (QFile, "/home/.../blub"): device not open
Change-Id: I7ee1d59f01383c581bc09fb44855835aae8c246b
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'examples/corelib/threads/doc/src/mandelbrot.qdoc')
0 files changed, 0 insertions, 0 deletions