From 9986ce25d77d7abe8bdf5c1fca6ac98893ff2f10 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 6 Feb 2018 19:58:07 +0100 Subject: Cleanup: Make local helpers and variables of static linkage In core/imagedownloader.cpp the helpers cloudImageUrl() and loadPicture() are made of static linkage. The global variables queuedPictures and pictureQueueMutex were moved into the loadPicture() function, because they are used only there. Signed-off-by: Berthold Stoeger --- core/imagedownloader.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/imagedownloader.h') diff --git a/core/imagedownloader.h b/core/imagedownloader.h index 51ccc5f7a..63d963ec3 100644 --- a/core/imagedownloader.h +++ b/core/imagedownloader.h @@ -8,9 +8,6 @@ typedef QPair SHashedFilename; -extern QUrl cloudImageURL(const char *hash); - - class ImageDownloader : public QObject { Q_OBJECT; public: -- cgit v1.2.3-70-g09d2