Commit fd355fdf authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Register std::vector<DataContainer*> and std::vector<AbstractPipeline*> as Qt...

Register std::vector<DataContainer*> and std::vector<AbstractPipeline*> as Qt meta types in mainwindow.cpp to support them in Qt signals (even though I do not understand why the issue did not arise before...)
parent d434e54b
......@@ -142,6 +142,8 @@ namespace campvis {
_dcInspectorWidget = new DataContainerInspectorWidget();
this->populateMainMenu();
qRegisterMetaType< std::vector<DataContainer*> >("std::vector<DataContainer*>");
qRegisterMetaType< std::vector<AbstractPipeline*> >("std::vector<AbstractPipeline*>");
connect(
this, SIGNAL(updatePipelineWidget(const std::vector<DataContainer*>&, const std::vector<AbstractPipeline*>&)),
_pipelineWidget, SLOT(update(const std::vector<DataContainer*>&, const std::vector<AbstractPipeline*>&)));
......
Markdown is supported
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