summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/system.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-08 18:20:28 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-16 12:13:28 +0200
commit9cd37337dec6c970a1fd148e92ffc43fbf409cc3 (patch)
tree97635a16a175bb4b4a1d51cedea603bc24b77d7d /rbutil/rbutilqt/base/system.h
parentb1332d974aa065e3c2a01408625d7c2c5b7fc77c (diff)
downloadrockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.tar.gz
rockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.tar.bz2
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.h3
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 @@
#include <inttypes.h>
+#include <QMultiMap>
#include <QString>
#include <QUrl>
@@ -43,7 +44,7 @@ public:
static QString userName(void);
static QString osVersionString(void);
static QList<uint32_t> listUsbIds(void);
- static QMap<uint32_t, QString> listUsbDevices(void);
+ static QMultiMap<uint32_t, QString> listUsbDevices(void);
static QUrl systemProxy(void);