diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-06-01 06:25:38 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-06-02 21:32:23 +0200 |
commit | b2587f9ea40c89e8d7c21bfeb34ccdb67c804c81 (patch) | |
tree | 6a0cb02f7bd07b7e6b2c681331893180243827bb /src/corelib/io | |
parent | 5905f7a4af4885024455ede3dc2daf5d3adaa18c (diff) |
QFile: fix coding style violation
Amends dd8131e3b25a4ac60eb55022b69b374f0b9a476c.
Change-Id: Ic7d440816ee7bada49740f15919e404860dd8ac7
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qfile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index 13af113da1..8d871904bc 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -62,7 +62,8 @@ QT_BEGIN_NAMESPACE Q_DECL_COLD_FUNCTION -static bool file_already_open(QFile &file, const char *where = nullptr) { +static bool file_already_open(QFile &file, const char *where = nullptr) +{ qWarning("QFile::%s: File (%ls) already open", where ? where : "open", qUtf16Printable(file.fileName())); return false; } |