From 5db49141a5f8b684fd2efe80eafbaeecddccbe90 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Mon, 7 Oct 2013 14:10:19 +0200 Subject: 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 --- src/corelib/io/qdir.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/corelib/io') 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; } -- cgit v1.2.3