MCPcopy Create free account
hub / github.com/audacity/audacity / load

Method load

au4/src/appshell/view/mainwindowtitleprovider.cpp:33–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void MainWindowTitleProvider::load()
34{
35 update();
36 context()->currentProjectChanged().onNotify(this, [this]() {
37 if (auto currentProject = context()->currentProject()) {
38 currentProject->displayNameChanged().onNotify(this, [this]() {
39 update();
40 });
41
42 currentProject->needSave().notification.onNotify(this, [this]() {
43 update();
44 });
45 }
46 });
47}
48
49QString MainWindowTitleProvider::title() const
50{

Callers

nothing calls this directly

Calls 5

currentProjectChangedMethod · 0.80
needSaveMethod · 0.80
contextClass · 0.50
currentProjectMethod · 0.45
displayNameChangedMethod · 0.45

Tested by

no test coverage detected