Fix some compiler warnings

Change-Id: I4eaf47bda086b83618f461ab19d1715c67e27ae1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2021-08-06 17:23:33 +02:00
parent f719ae57ee
commit 6530a4fdc7
3 changed files with 5 additions and 5 deletions

View File

@@ -168,7 +168,7 @@ QString ComponentNameDialog::isValid() const
if (!ui->pathEdit->isValid())
return tr("Invalid path.");
if (QDir(ui->pathEdit->path()).exists(compName + u".qml"))
if (QDir(ui->pathEdit->path()).exists(compName + ".qml"))
return tr("Component already exists.");
return QString();