diff options
author | David Faure <david.faure@kdab.com> | 2015-07-31 14:15:56 +0200 |
---|---|---|
committer | David Faure <david.faure@kdab.com> | 2015-08-13 08:54:47 +0000 |
commit | 109cdeda3008fe57aabf2385f95cf8e55b8c7da2 (patch) | |
tree | 53cfe25800ca9f4dc119bf3375fb87855d9a6c25 /src/printsupport/dialogs/qprintdialog.h | |
parent | 314c83c0c2f91532654f869b7dc6af1b7e8538da (diff) |
qprintdialog_unix.cpp: fix out-of-bounds when cwd is empty.
This happens when the cwd got deleted meanwhile; this warning is printed out:
QFileSystemEngine::currentPath: getcwd() failed
and currentPath() is empty. Not a problem in itself, but qprintdialog
should not assume it's not empty, then.
Change-Id: I5c89992b36ca58b6325ced399cff33aca9efb7ec
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/printsupport/dialogs/qprintdialog.h')
0 files changed, 0 insertions, 0 deletions