forked from qt-creator/qt-creator
Qt Quick Designer: Fix typo and caps in UI text
Change-Id: I759d7ceb319bb9b328a093118a9b5182d01dc6d7 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
c4202f28fe
commit
d79c22cd9b
@@ -416,7 +416,7 @@ void ItemLibraryWidget::addResources()
|
||||
|
||||
if (!fileNames.isEmpty()) {
|
||||
const auto directory = QFileDialog::getExistingDirectory(this,
|
||||
tr("Target Direcotry"),
|
||||
tr("Target Directory"),
|
||||
document->fileName().parentDir().toString());
|
||||
|
||||
for (const QString &fileName : fileNames) {
|
||||
@@ -425,7 +425,7 @@ void ItemLibraryWidget::addResources()
|
||||
postfix.remove(0, 1);
|
||||
if (fileName.endsWith(postfix))
|
||||
if (!handler.operation(fileName, directory))
|
||||
Core::AsynchronousMessageBox::warning(tr("Failed to add File"), tr("Could not add %1 to project.").arg(fileName));
|
||||
Core::AsynchronousMessageBox::warning(tr("Failed to Add File"), tr("Could not add %1 to project.").arg(fileName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user