MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / generateUserFriendlyNatronVersionName

Function generateUserFriendlyNatronVersionName

Engine/Project.cpp:118–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118static std::string
119generateUserFriendlyNatronVersionName()
120{
121 std::string ret(NATRON_APPLICATION_NAME);
122
123 ret.append(" v");
124 ret.append(NATRON_VERSION_STRING);
125 const std::string status(NATRON_DEVELOPMENT_STATUS);
126 ret.append(" " NATRON_DEVELOPMENT_STATUS);
127 if (status == NATRON_DEVELOPMENT_RELEASE_CANDIDATE) {
128 ret.append( QString::number(NATRON_BUILD_NUMBER).toStdString() );
129 }
130
131 return ret;
132}
133
134
135Project::Project(const AppInstancePtr& appInstance)

Callers 3

loadProjectInternalMethod · 0.85
saveProjectInternalMethod · 0.85
initializeKnobsMethod · 0.85

Calls 2

appendMethod · 0.80
toStdStringMethod · 0.80

Tested by

no test coverage detected