diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-01-13 18:42:11 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-01-13 18:48:28 +0100 |
commit | d608fd604b4a3c0f0f9ba9dc3bcce7aae6c557f7 (patch) | |
tree | 695b0fa507f9e77f85f75116b8e77c12639f570a /rbutil/rbutilqt/base/httpget.h | |
parent | 4307f95a1f57d3038a2d41f0f4c0ddf33f50630d (diff) | |
download | rockbox-d608fd604b4a3c0f0f9ba9dc3bcce7aae6c557f7.tar.gz rockbox-d608fd604b4a3c0f0f9ba9dc3bcce7aae6c557f7.zip |
Remove HttpGet::error() function.
This function returns an internal enum value of QHttp (which is also
deprecated). It was only used for showing an error to the user / showing it in
the system trace. Since it is an enum value it doesn't have much value. Log /
show the error string instead.
Change-Id: I54b9b6026969f8108f779b02a04477f0ad9201ab
Diffstat (limited to 'rbutil/rbutilqt/base/httpget.h')
-rw-r--r-- | rbutil/rbutilqt/base/httpget.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/httpget.h b/rbutil/rbutilqt/base/httpget.h index 438853ce82..e8a936de08 100644 --- a/rbutil/rbutilqt/base/httpget.h +++ b/rbutil/rbutilqt/base/httpget.h | |||
@@ -35,7 +35,6 @@ class HttpGet : public QObject | |||
35 | bool getFile(const QUrl &url); | 35 | bool getFile(const QUrl &url); |
36 | void setProxy(const QUrl &url); | 36 | void setProxy(const QUrl &url); |
37 | void setProxy(bool); | 37 | void setProxy(bool); |
38 | QHttp::Error error(void); | ||
39 | QString errorString(void); | 38 | QString errorString(void); |
40 | void setFile(QFile*); | 39 | void setFile(QFile*); |
41 | void setCache(const QDir&); | 40 | void setCache(const QDir&); |