Skip to content

Commit

Permalink
Nonsensical fix for nonsensical problem
Browse files Browse the repository at this point in the history
Apparently log() makes the device hang forever on the "Sync in progress" screen. So no option but to remove those calls ...
  • Loading branch information
tux-linux committed Apr 19, 2022
1 parent 8ad0626 commit 55a870b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions librarywidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,10 @@ void libraryWidget::syncCatalog() {
if(syncDone == false) {
if(QFile::exists("/inkbox/gutenbergSyncDone") == true) {
if(checkconfig("/inkbox/gutenbergSyncDone") == true) {
log("syncCatalog(): Gutenberg sync successfully completed", className);
toastWindow->close();
setupView();
}
else {
log("syncCatalog(): Gutenberg sync encountered an error", className);
toastWindow->close();
showToast("Error");
QFile::remove("/external_root/opt/storage/gutenberg/last_sync");
Expand Down

0 comments on commit 55a870b

Please sign in to comment.