diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-20 10:22:15 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-20 12:36:50 +0200 |
commit | 5fa19cbf945f43146f2b0e0f93da53fec27fd543 (patch) | |
tree | 9906406fc967f9510d647415ab7d4dbd24b67e1e /src/corelib/io/qdir.cpp | |
parent | c7c7b364d9816d03c7475d6592d50dec5401c151 (diff) | |
download | qt4-tools-5fa19cbf945f43146f2b0e0f93da53fec27fd543.tar.gz |
Remove a few warnings when compiling Qt and unexport some functions.
Make some functions static that are not used anywhere but in the
current file. Others that are used, add the declaration to the _p.h to
ensure we don't forget about them.
Finally, there's no need to enable debugging code if it's not used
anywhere.
Reviewed-by: TrustMe
Diffstat (limited to 'src/corelib/io/qdir.cpp')
-rw-r--r-- | src/corelib/io/qdir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index ca178cefe8..fd1e36735e 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -2445,7 +2445,7 @@ QDebug operator<<(QDebug debug, QDir::Filters filters) return debug; } -QDebug operator<<(QDebug debug, QDir::SortFlags sorting) +static QDebug operator<<(QDebug debug, QDir::SortFlags sorting) { if (sorting == QDir::NoSort) { debug << "QDir::SortFlags(NoSort)"; |