diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-01-07 08:35:25 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-01-07 09:44:02 +0100 |
| commit | 50729c19ebf75ab91ee285fe7af86abbdaec411c (patch) | |
| tree | a45b68bc7b28e20b59f0fded5bfa89e65783ac34 /src/ioutil.hpp | |
| parent | b7f07140cbe020a90f553cbd00fbcd9c35115579 (diff) | |
| download | kristall-50729c19ebf75ab91ee285fe7af86abbdaec411c.tar.gz | |
Fixes pages not being read from cache due to differing trailing slash
Also fixes favourites with the same problem
Diffstat (limited to 'src/ioutil.hpp')
| -rw-r--r-- | src/ioutil.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <QIODevice> +#include <QUrl> 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 |
