summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-10-07 14:10:19 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-08 09:18:24 +0200
commit5db49141a5f8b684fd2efe80eafbaeecddccbe90 (patch)
tree1d7aa4744e9d0cf164ccfb867e010c5e8d463c7e /src/corelib
parentef7284a1484a7b43470efc1cb0815764260c3c12 (diff)
Fix "Empty or null file name(s)" warning text
Remove '(s)' for methods taking only one path argument. The '(s)' has been dropped in other places already ... Change-Id: I9dc0d1cfa1e02f60bce901a309835f4bbfadde6d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qdir.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp
index ed3c4d6993..148ae5b202 100644
--- a/src/corelib/io/qdir.cpp
+++ b/src/corelib/io/qdir.cpp
@@ -1384,7 +1384,7 @@ bool QDir::mkdir(const QString &dirName) const
const QDirPrivate* d = d_ptr.constData();
if (dirName.isEmpty()) {
- qWarning("QDir::mkdir: Empty or null file name(s)");
+ qWarning("QDir::mkdir: Empty or null file name");
return false;
}
@@ -1408,7 +1408,7 @@ bool QDir::rmdir(const QString &dirName) const
const QDirPrivate* d = d_ptr.constData();
if (dirName.isEmpty()) {
- qWarning("QDir::rmdir: Empty or null file name(s)");
+ qWarning("QDir::rmdir: Empty or null file name");
return false;
}
@@ -1436,7 +1436,7 @@ bool QDir::mkpath(const QString &dirPath) const
const QDirPrivate* d = d_ptr.constData();
if (dirPath.isEmpty()) {
- qWarning("QDir::mkpath: Empty or null file name(s)");
+ qWarning("QDir::mkpath: Empty or null file name");
return false;
}
@@ -1462,7 +1462,7 @@ bool QDir::rmpath(const QString &dirPath) const
const QDirPrivate* d = d_ptr.constData();
if (dirPath.isEmpty()) {
- qWarning("QDir::rmpath: Empty or null file name(s)");
+ qWarning("QDir::rmpath: Empty or null file name");
return false;
}