Mercurial > hg > sonic-visualiser
comparison main/OSCHandler.cpp @ 1770:893f556cd5c9
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:33 +0000 |
parents | afe620d017d7 |
children | b184e71f880d |
comparison
equal
deleted
inserted
replaced
1769:0698743f52a4 | 1770:893f556cd5c9 |
---|---|
574 message.getArgCount() == 1 && | 574 message.getArgCount() == 1 && |
575 message.getArg(0).canConvert(QVariant::String)) { | 575 message.getArg(0).canConvert(QVariant::String)) { |
576 | 576 |
577 TransformId transformId = message.getArg(0).toString(); | 577 TransformId transformId = message.getArg(0).toString(); |
578 | 578 |
579 Transform transform = TransformFactory::getInstance()-> | 579 Transform transform = TransformFactory::getInstance()-> |
580 getDefaultTransformFor(transformId); | 580 getDefaultTransformFor(transformId); |
581 | 581 |
582 Layer *newLayer = m_document->createDerivedLayer | 582 Layer *newLayer = m_document->createDerivedLayer |
583 (transform, getMainModel()); | 583 (transform, getMainModel()); |
584 | 584 |
585 if (newLayer) { | 585 if (newLayer) { |
586 m_document->addLayerToView(pane, newLayer); | 586 m_document->addLayerToView(pane, newLayer); |