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>
This commit is contained in:
parent
ef7284a148
commit
5db49141a5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user