mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
How can I be that stupid
This commit is contained in:
parent
9fce504d64
commit
a4b62b6811
1 changed files with 2 additions and 1 deletions
|
@ -726,7 +726,7 @@ reader::~reader()
|
||||||
}
|
}
|
||||||
|
|
||||||
int reader::setup_book(QString book, int i, bool run_parser) {
|
int reader::setup_book(QString book, int i, bool run_parser) {
|
||||||
// Parse ebook
|
// Parse eBook
|
||||||
if(remount == true) {
|
if(remount == true) {
|
||||||
QString mount_prog ("sh");
|
QString mount_prog ("sh");
|
||||||
QStringList mount_args;
|
QStringList mount_args;
|
||||||
|
@ -1849,6 +1849,7 @@ void reader::gotoPage(int pageNumber) {
|
||||||
setup_book(book_file, mupdf::epub::epubPageNumber, true);
|
setup_book(book_file, mupdf::epub::epubPageNumber, true);
|
||||||
ui->text->setText("");
|
ui->text->setText("");
|
||||||
ui->text->setText(epubPageContent);
|
ui->text->setText(epubPageContent);
|
||||||
|
global::reader::currentViewportText = ui->text->toHtml();
|
||||||
|
|
||||||
pagesTurned = 0;
|
pagesTurned = 0;
|
||||||
writeconfig_pagenumber(false);
|
writeconfig_pagenumber(false);
|
||||||
|
|
Loading…
Reference in a new issue