MCPcopy Create free account
hub / github.com/YACReader/yacreader / enableNeededActions

Method enableNeededActions

YACReaderLibrary/library_window.cpp:1163–1172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1161}
1162
1163void LibraryWindow::enableNeededActions()
1164{
1165 if (foldersModel->rowCount(QModelIndex()) > 0)
1166 actions.disableFoldersActions(false);
1167
1168 if (comicsModel->rowCount() > 0)
1169 disableComicsActions(false);
1170
1171 actions.disableLibrariesActions(false);
1172}
1173
1174void LibraryWindow::disableComicsActions(bool disabled)
1175{

Callers

nothing calls this directly

Calls 4

disableFoldersActionsMethod · 0.80
QModelIndexClass · 0.50
rowCountMethod · 0.45

Tested by

no test coverage detected