diff options
Diffstat (limited to 'src/mainwindow.hpp')
| -rw-r--r-- | src/mainwindow.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp index cfc35bf..1868eaf 100644 --- a/src/mainwindow.hpp +++ b/src/mainwindow.hpp @@ -29,13 +29,13 @@ struct CachedPage MimeType mime; - // TODO: last scroll position + int scroll_pos; // also: maybe compress page contents? May test // to see if it's worth it CachedPage(const QUrl &url, const QByteArray &body, const MimeType &mime) - : url(url), body(body), mime(mime) + : url(url), body(body), mime(mime), scroll_pos(-1) {} }; |
