From b6cd3bca280bd81e932ff51a3ec2b9fc70231646 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 20 Oct 2020 09:30:00 +0200 Subject: Whitespace cleanup in corelib/io MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Selective application of clang-format to follow our coding style where it is significantly off. Change-Id: I0ff4ed146fe53922691d5473d0c236f31d478a04 Reviewed-by: Friedemann Kleint Reviewed-by: Tor Arne Vestbø --- src/corelib/io/qdir.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/corelib/io/qdir.h') diff --git a/src/corelib/io/qdir.h b/src/corelib/io/qdir.h index 92b3faee7e..86ab33a2fc 100644 --- a/src/corelib/io/qdir.h +++ b/src/corelib/io/qdir.h @@ -213,7 +213,7 @@ public: bool makeAbsolute(); bool operator==(const QDir &dir) const; - inline bool operator!=(const QDir &dir) const { return !operator==(dir); } + inline bool operator!=(const QDir &dir) const { return !operator==(dir); } bool remove(const QString &fileName); bool rename(const QString &oldName, const QString &newName); @@ -266,12 +266,8 @@ protected: private: friend class QDirIterator; // Q_DECLARE_PRIVATE equivalent for shared data pointers - QDirPrivate* d_func(); - inline const QDirPrivate* d_func() const - { - return d_ptr.constData(); - } - + QDirPrivate *d_func(); + const QDirPrivate *d_func() const { return d_ptr.constData(); } }; Q_DECLARE_SHARED(QDir) -- cgit v1.2.3