summaryrefslogtreecommitdiffstats
path: root/core/imagedownloader.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-02-06 19:58:07 +0100
committerGravatar Robert C. Helling <helling@atdotde.de>2018-02-07 09:44:43 +0100
commit9986ce25d77d7abe8bdf5c1fca6ac98893ff2f10 (patch)
tree9a0c84cb2307245e9956139cc06a977d07f86dc5 /core/imagedownloader.h
parent218ea948316fe9e1581935becac8f1225d16e955 (diff)
downloadsubsurface-9986ce25d77d7abe8bdf5c1fca6ac98893ff2f10.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/imagedownloader.h')
-rw-r--r--core/imagedownloader.h3
1 files changed, 0 insertions, 3 deletions
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<QString, QByteArray> SHashedFilename;
-extern QUrl cloudImageURL(const char *hash);
-
-
class ImageDownloader : public QObject {
Q_OBJECT;
public: