forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user