MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / clear

Method clear

pj_widgets/src/RecentFilesMenu.cpp:41–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void RecentFilesMenu::clear() {
42 if (files_.isEmpty()) {
43 return;
44 }
45 files_.clear();
46 rebuildMenu();
47 persist();
48 emit enabledChanged(false);
49}
50
51void RecentFilesMenu::popupAt(QPoint global_pos) {
52 if (!menu_->isEmpty()) {

Callers 1

rebuildMenuMethod · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected