aboutsummaryrefslogtreecommitdiff
path: root/src/protocols/abouthandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/abouthandler.cpp')
-rw-r--r--src/protocols/abouthandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/abouthandler.cpp b/src/protocols/abouthandler.cpp
index 46fa643..13bc098 100644
--- a/src/protocols/abouthandler.cpp
+++ b/src/protocols/abouthandler.cpp
@@ -30,7 +30,7 @@ bool AboutHandler::startRequest(const QUrl &url, ProtocolHandler::RequestOptions
QString current_group;
- for (auto const &fav : kristall::favourites.allFavourites())
+ for (auto const &fav : kristall::globals().favourites.allFavourites())
{
if(current_group != fav.first) {
@@ -54,7 +54,7 @@ bool AboutHandler::startRequest(const QUrl &url, ProtocolHandler::RequestOptions
QByteArray document;
document.append("# Cache information\n");
- auto& cache = kristall::cache.getPages();
+ auto& cache = kristall::globals().cache.getPages();
long unsigned cache_usage = 0;
int cached_count = 0;
for (auto it = cache.begin(); it != cache.end(); ++it, ++cached_count)