Commit b2e6ded2 authored by Daniel Teske's avatar Daniel Teske
Browse files

DesignerIntegration: Fix listing of resources



Task-number: QTCREATORBUG-11878
Change-Id: I01649e2a9063ce569a39c08bf92d733c890db20d
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 05339a53
......@@ -4,6 +4,7 @@ QTC_LIB_DEPENDS += \
extensionsystem \
utils
QTC_PLUGIN_DEPENDS += \
resourceeditor\
cpptools \
projectexplorer \
texteditor \
......
......@@ -35,6 +35,7 @@
#include <projectexplorer/nodesvisitor.h>
#include <projectexplorer/project.h>
#include <projectexplorer/session.h>
#include <resourceeditor/resourcenode.h>
#if QT_VERSION >= 0x050000
# include <QDesignerFormWindowInterface>
......@@ -78,6 +79,8 @@ void QrcFilesVisitor::visitFolderNode(FolderNode *folderNode)
if (fileNode->fileType() == ProjectExplorer::ResourceType)
m_qrcFiles.append(fileNode->path());
}
if (qobject_cast<ResourceEditor::ResourceTopLevelNode *>(folderNode))
m_qrcFiles.append(folderNode->path());
}
// ------------ ResourceHandler
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment