diff --git a/reader.cpp b/reader.cpp index ae53c9d..37a2aa0 100644 --- a/reader.cpp +++ b/reader.cpp @@ -333,6 +333,9 @@ reader::reader(QWidget *parent) : // Checking if we're waking from sleep; if so, do nothing there because the book should already have been parsed if(wakeFromSleep != true) { + // Remount tmpfs + string_writeconfig("/inkbox/remount", "true"); + // Counting number of parsed files split_total = setup_book(book_file, 0, true); split_files_number = split_total; @@ -895,6 +898,8 @@ void reader::on_homeBtn_clicked() { // We're leaving reading mode string_writeconfig("/tmp/inkboxReading", "false"); + // Remount tmpfs + string_writeconfig("/inkbox/remount", "true"); // Relaunching process quit_restart();