diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-08 18:20:28 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-16 12:13:28 +0200 |
commit | 9cd37337dec6c970a1fd148e92ffc43fbf409cc3 (patch) | |
tree | 97635a16a175bb4b4a1d51cedea603bc24b77d7d /rbutil/rbutilqt/base/system.h | |
parent | b1332d974aa065e3c2a01408625d7c2c5b7fc77c (diff) | |
download | rockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.tar.gz rockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.zip |
rbutil: Fix various warnings.
Replace use of deprecated APIs with their replacements, and fix some
other minor warnings.
Change-Id: I3f63e0bd91b96ce86ce39c087fe0040fc226d16d
Diffstat (limited to 'rbutil/rbutilqt/base/system.h')
-rw-r--r-- | rbutil/rbutilqt/base/system.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/system.h b/rbutil/rbutilqt/base/system.h index 1d2deef170..61f0a6f1a9 100644 --- a/rbutil/rbutilqt/base/system.h +++ b/rbutil/rbutilqt/base/system.h | |||
@@ -26,6 +26,7 @@ | |||
26 | 26 | ||
27 | #include <inttypes.h> | 27 | #include <inttypes.h> |
28 | 28 | ||
29 | #include <QMultiMap> | ||
29 | #include <QString> | 30 | #include <QString> |
30 | #include <QUrl> | 31 | #include <QUrl> |
31 | 32 | ||
@@ -43,7 +44,7 @@ public: | |||
43 | static QString userName(void); | 44 | static QString userName(void); |
44 | static QString osVersionString(void); | 45 | static QString osVersionString(void); |
45 | static QList<uint32_t> listUsbIds(void); | 46 | static QList<uint32_t> listUsbIds(void); |
46 | static QMap<uint32_t, QString> listUsbDevices(void); | 47 | static QMultiMap<uint32_t, QString> listUsbDevices(void); |
47 | 48 | ||
48 | static QUrl systemProxy(void); | 49 | static QUrl systemProxy(void); |
49 | 50 | ||