mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
Folders: Small fixes
This commit is contained in:
parent
cff3c2c69d
commit
ee4e910454
2 changed files with 4 additions and 4 deletions
|
@ -474,7 +474,7 @@ void localLibraryWidget::setupBooksListToggle(int pageNumber) {
|
|||
}
|
||||
|
||||
void localLibraryWidget::setupBooksListFolders(int pageNumber) {
|
||||
log("Showing local library with folders", className);
|
||||
log("Showing folders", className);
|
||||
QStringList dirList = QDir(pathForFolders).entryList(QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name);
|
||||
log("Full directory list: "+ dirList.join(","), className);
|
||||
|
||||
|
@ -590,7 +590,7 @@ void localLibraryWidget::setupBooksListFolders(int pageNumber) {
|
|||
|
||||
if(in <= buttonsNumber) {
|
||||
for(int i = in; i <= buttonsNumber; i++) {
|
||||
log("Hiding items in LocalLibrary", className);
|
||||
log("Hiding items", className);
|
||||
bookIconArray[i]->hide();
|
||||
bookBtnArray[i]->hide();
|
||||
if(i - 1 < buttonsNumber) {
|
||||
|
|
|
@ -1101,12 +1101,12 @@ void settings::on_localLibraryShowFoldersCheckBox_toggled(bool checked)
|
|||
if(checked == true) {
|
||||
logEnabled(settingString, className);
|
||||
checked_box = true;
|
||||
writeconfig(".config/21-local_library/folders", "Folders");
|
||||
writeconfig(".config/21-local_library/folders", "Folders=");
|
||||
}
|
||||
else {
|
||||
logDisabled(settingString, className);
|
||||
checked_box = false;
|
||||
writeconfig(".config/21-local_library/folders", "Folders");
|
||||
writeconfig(".config/21-local_library/folders", "Folders=");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue