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

Method checkMaxNumLibraries

YACReaderLibrary/library_window.cpp:1688–1694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1686}
1687
1688void LibraryWindow::checkMaxNumLibraries()
1689{
1690 int numLibraries = libraries.getNames().length();
1691 if (numLibraries >= MAX_LIBRARIES_WARNING_NUM) {
1692 QMessageBox::warning(this, tr("You are adding too many libraries."), tr("You are adding too many libraries.\n\nYou probably only need one library in your top level comics folder, you can browse any subfolders using the folders section in the left sidebar.\n\nYACReaderLibrary will not stop you from creating more libraries but you should keep the number of libraries low."));
1693 }
1694}
1695
1696void LibraryWindow::selectSubfolder(const QModelIndex &mi, int child)
1697{

Callers

nothing calls this directly

Calls 1

getNamesMethod · 0.80

Tested by

no test coverage detected