forked from qt-creator/qt-creator
QmlJS: Remove slow checks
These checks slow down linking for big projects. Change-Id: I76a8897528b03ae3a31d5919be85c5ae7c3543a8 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
committed by
Tim Jenssen
parent
5aa7e2915b
commit
89e8fd9088
@@ -407,8 +407,6 @@ void QrcParserPrivate::collectResourceFilesForSourceFile(const QString &sourceFi
|
|||||||
const QLocale *locale) const
|
const QLocale *locale) const
|
||||||
{
|
{
|
||||||
// TODO: use FileName from fileutils for file pathes
|
// TODO: use FileName from fileutils for file pathes
|
||||||
QTC_CHECK(QFileInfo(sourceFile).isFile());
|
|
||||||
QTC_CHECK(QFileInfo(sourceFile).isAbsolute());
|
|
||||||
|
|
||||||
QStringList langs = allUiLanguages(locale);
|
QStringList langs = allUiLanguages(locale);
|
||||||
SMap::const_iterator file = m_files.find(sourceFile);
|
SMap::const_iterator file = m_files.find(sourceFile);
|
||||||
|
|||||||
Reference in New Issue
Block a user