forked from qt-creator/qt-creator
Revert "Designer: Fix look-up of resources for UI files"
This reverts commit 736eef24ca,
which breaks binary compatibility.
Change-Id: I696ad3e6efc6f02f595356c9864d69629eeef8bf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -230,14 +230,7 @@ FolderNode::AddNewInformation QmakePriFileNode::addNewInformation(const QStringL
|
||||
QmakeProFileNode::QmakeProFileNode(QmakeProject *project, const FilePath &filePath, QmakeProFile *pf) :
|
||||
QmakePriFileNode(project, this, filePath, pf)
|
||||
{
|
||||
if (projectType() == ProjectType::ApplicationTemplate) {
|
||||
setProductType(ProductType::App);
|
||||
} else if (projectType() == ProjectType::SharedLibraryTemplate
|
||||
|| projectType() == ProjectType::StaticLibraryTemplate) {
|
||||
setProductType(ProductType::Lib);
|
||||
} else if (projectType() != ProjectType::SubDirsTemplate) {
|
||||
setProductType(ProductType::Other);
|
||||
}
|
||||
setIsProduct();
|
||||
}
|
||||
|
||||
bool QmakeProFileNode::showInSimpleTree() const
|
||||
|
||||
Reference in New Issue
Block a user