| 1686 | } |
| 1687 | |
| 1688 | void 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 | |
| 1696 | void LibraryWindow::selectSubfolder(const QModelIndex &mi, int child) |
| 1697 | { |