Mercurial > hg > svgui
comparison layer/Layer.cpp @ 1585:073ef72e8e60
Add test for whether presentation name is at default or not
author | Chris Cannam |
---|---|
date | Fri, 27 Mar 2020 11:04:48 +0000 |
parents | 4f8c72adbf43 |
children |
comparison
equal
deleted
inserted
replaced
1584:e5464dc2f6cf | 1585:073ef72e8e60 |
---|---|
85 | 85 |
86 void | 86 void |
87 Layer::setPresentationName(QString name) | 87 Layer::setPresentationName(QString name) |
88 { | 88 { |
89 m_presentationName = name; | 89 m_presentationName = name; |
90 } | |
91 | |
92 bool | |
93 Layer::isPresentationNameSet() const | |
94 { | |
95 return (m_presentationName != ""); | |
90 } | 96 } |
91 | 97 |
92 QString | 98 QString |
93 Layer::getLayerPresentationName() const | 99 Layer::getLayerPresentationName() const |
94 { | 100 { |