MCPcopy Create free account
hub / github.com/KDE/labplot / hasAction

Function hasAction

src/frontend/MainWin.cpp:1055–1061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1053}
1054
1055bool hasAction(const QList<QAction*>& actions) {
1056 for (const auto* action : actions) {
1057 if (!action->isSeparator())
1058 return true;
1059 }
1060 return false;
1061}
1062
1063/*
1064 * updates the state of actions, menus and toolbars (enabled or disabled)

Callers 1

updateGUIMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected