summaryrefslogtreecommitdiff
path: root/src/libs/utils/projectnamevalidatinglineedit.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2010-03-10 10:51:15 +0100
committerKai Koehne <kai.koehne@nokia.com>2010-03-10 10:52:15 +0100
commitd0da52f548bcda3594c068799823adaa83c4c510 (patch)
treedd3ba35229fad9b0c3e9d4ff0f413448b159f56a /src/libs/utils/projectnamevalidatinglineedit.cpp
parent5d1463745aa4389c8ab1940e9b2d523decc9e22d (diff)
downloadqt-creator-d0da52f548bcda3594c068799823adaa83c4c510.tar.gz
Wizards: Simplify error message for invalid names
Diffstat (limited to 'src/libs/utils/projectnamevalidatinglineedit.cpp')
-rw-r--r--src/libs/utils/projectnamevalidatinglineedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/projectnamevalidatinglineedit.cpp b/src/libs/utils/projectnamevalidatinglineedit.cpp
index d06508493b..880c88791a 100644
--- a/src/libs/utils/projectnamevalidatinglineedit.cpp
+++ b/src/libs/utils/projectnamevalidatinglineedit.cpp
@@ -47,7 +47,7 @@ bool ProjectNameValidatingLineEdit::validateProjectName(const QString &name, QSt
// reason. Since we are cross-platform, we generally disallow it.
if (name.contains(QLatin1Char('.'))) {
if (errorMessage)
- *errorMessage = tr("The name must not contain the '.'-character.");
+ *errorMessage = tr("Invalid character '.'.");
return false;
}
return true;