remove trailing dots from some error messages
the i/o functions are not very consistent about having the dot already in the message. the windows api does, and qt passes this on. Change-Id: I2d1a213965e15478985d6eff205689ea44aa2a03 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
109e3fa0ae
commit
4334ddc76b
@ -362,7 +362,7 @@ QMakeEvaluator::writeFile(const QString &ctx, const QString &fn, QIODevice::Open
|
||||
{
|
||||
QString errStr;
|
||||
if (!m_vfs->writeFile(fn, mode, contents, &errStr)) {
|
||||
evalError(fL1S("Cannot write %1file %2: %3.")
|
||||
evalError(fL1S("Cannot write %1file %2: %3")
|
||||
.arg(ctx, QDir::toNativeSeparators(fn), errStr));
|
||||
return ReturnFalse;
|
||||
}
|
||||
@ -1582,7 +1582,7 @@ QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateBuiltinConditional(
|
||||
GENERIC_READ, FILE_SHARE_READ,
|
||||
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if (rHand == INVALID_HANDLE_VALUE) {
|
||||
evalError(fL1S("Cannot open() reference file %1: %2.").arg(rfn, windowsErrorCode()));
|
||||
evalError(fL1S("Cannot open() reference file %1: %2").arg(rfn, windowsErrorCode()));
|
||||
return ReturnFalse;
|
||||
}
|
||||
FILETIME ft;
|
||||
@ -1592,7 +1592,7 @@ QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateBuiltinConditional(
|
||||
GENERIC_WRITE, FILE_SHARE_READ,
|
||||
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if (wHand == INVALID_HANDLE_VALUE) {
|
||||
evalError(fL1S("Cannot open() %1: %2.").arg(tfn, windowsErrorCode()));
|
||||
evalError(fL1S("Cannot open() %1: %2").arg(tfn, windowsErrorCode()));
|
||||
return ReturnFalse;
|
||||
}
|
||||
SetFileTime(wHand, 0, 0, &ft);
|
||||
|
Loading…
x
Reference in New Issue
Block a user