forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/qds-1.59' into 4.13
Change-Id: Ia5756102fa014a8376c8b277e9a50a112c594d35
This commit is contained in:
@@ -390,7 +390,7 @@ extend_qtc_plugin(QmlDesigner
|
|||||||
SOURCES_PREFIX components/listmodeleditor
|
SOURCES_PREFIX components/listmodeleditor
|
||||||
SOURCES
|
SOURCES
|
||||||
listmodeleditordialog.cpp listmodeleditordialog.h
|
listmodeleditordialog.cpp listmodeleditordialog.h
|
||||||
listmodeleditordialog.cpp listmodeleditormodel.h
|
listmodeleditormodel.cpp listmodeleditormodel.h
|
||||||
)
|
)
|
||||||
|
|
||||||
extend_qtc_plugin(QmlDesigner
|
extend_qtc_plugin(QmlDesigner
|
||||||
|
@@ -41,8 +41,8 @@ Q_LOGGING_CATEGORY(loggerInfo, "qtc.designer.assetExportPlugin.filePathModel", Q
|
|||||||
|
|
||||||
void findQmlFiles(QFutureInterface<Utils::FilePath> &f, const Project *project)
|
void findQmlFiles(QFutureInterface<Utils::FilePath> &f, const Project *project)
|
||||||
{
|
{
|
||||||
if (!project && !f.isCanceled())
|
if (!project || f.isCanceled())
|
||||||
f.reportFinished({});
|
return;
|
||||||
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
Utils::FilePaths qmlFiles = project->files([&f, &index](const Node* node) ->bool {
|
Utils::FilePaths qmlFiles = project->files([&f, &index](const Node* node) ->bool {
|
||||||
@@ -54,7 +54,6 @@ void findQmlFiles(QFutureInterface<Utils::FilePath> &f, const Project *project)
|
|||||||
f.reportResult(path, index++);
|
f.reportResult(path, index++);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
f.reportFinished();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
add_subdirectory(auto)
|
add_subdirectory(auto)
|
||||||
add_subdirectory(manual)
|
add_subdirectory(manual)
|
||||||
# add_subdirectory(tools)
|
# add_subdirectory(tools)
|
||||||
add_subdirectory(unit)
|
# add_subdirectory(unit)
|
||||||
|
Reference in New Issue
Block a user