Fix project wizard / German.

...to not suggest invalid file paths.
This commit is contained in:
Friedemann Kleint
2010-02-15 11:08:23 +01:00
parent cac7f826b5
commit 5448a9f0b7
2 changed files with 3 additions and 1 deletions

View File

@@ -121,6 +121,8 @@ Utils::ProjectIntroPage *BaseProjectWizardDialog::introPage() const
QString BaseProjectWizardDialog::uniqueProjectName(const QString &path)
{
const QDir pathDir(path);
//: File path suggestion for a new project. If you choose
//: to translate it, make sure it is a valid path name without blanks.
const QString prefix = tr("untitled");
for (unsigned i = 0; ; i++) {
QString name = prefix;