MCPcopy Create free account
hub / github.com/LMMS/lmms / fullDisplayName

Method fullDisplayName

src/core/Model.cpp:28–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28QString Model::fullDisplayName() const
29{
30 const QString & n = displayName();
31 if( parentModel() )
32 {
33 const QString p = parentModel()->fullDisplayName();
34 if( n.isEmpty() && p.isEmpty() )
35 {
36 return QString::null;
37 }
38 else if( p.isEmpty() )
39 {
40 return n;
41 }
42 return p + ">" + n;
43 }
44 return n;
45}
46
47
48

Callers 3

nameMethod · 0.45
constructContextMenuMethod · 0.45
selectControllerMethod · 0.45

Calls 2

displayNameFunction · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected