From 50729c19ebf75ab91ee285fe7af86abbdaec411c Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Thu, 7 Jan 2021 08:35:25 +1100 Subject: Fixes pages not being read from cache due to differing trailing slash Also fixes favourites with the same problem --- src/ioutil.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ioutil.hpp') diff --git a/src/ioutil.hpp b/src/ioutil.hpp index 260a556..ede1fbb 100644 --- a/src/ioutil.hpp +++ b/src/ioutil.hpp @@ -2,12 +2,16 @@ #define IOUTIL_HPP #include +#include struct IoUtil { static bool writeAll(QIODevice & dst, QByteArray const & src); static QString size_human(qint64 size); + + static QUrl uniformUrl(QUrl url); + static QString uniformUrlString(QUrl url); }; #endif // IOUTIL_HPP -- cgit v1.2.3