summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/autodetection.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-09-20 21:03:51 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-09-30 23:42:21 +0200
commit1977281bb3de54db1be7527bdea3ab9089f15011 (patch)
tree00ade001b93d87547e13f497738030eabf1a8adf /rbutil/rbutilqt/base/autodetection.h
parent310e7b494381622ed00a11ab42ce00f16c1bfef7 (diff)
downloadrockbox-1977281bb3de54db1be7527bdea3ab9089f15011.tar.gz
rockbox-1977281bb3de54db1be7527bdea3ab9089f15011.tar.bz2
rockbox-1977281bb3de54db1be7527bdea3ab9089f15011.zip
Use function for updating detected device entry.
Use a function instead of looking for an existing entry and creating a new one if necessary every time. Change-Id: I7b385dad7366f27370545a7d1a9f7052510cca11
Diffstat (limited to 'rbutil/rbutilqt/base/autodetection.h')
-rw-r--r--rbutil/rbutilqt/base/autodetection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/autodetection.h b/rbutil/rbutilqt/base/autodetection.h
index c3c7fc9168..f9adf2aa0c 100644
--- a/rbutil/rbutilqt/base/autodetection.h
+++ b/rbutil/rbutilqt/base/autodetection.h
@@ -61,6 +61,7 @@ private:
void mergePatcher(void);
QString detectAjbrec(QString);
int findDetectedDevice(QString device);
+ void updateDetectedDevice(struct Detected& entry);
QList<struct Detected> m_detected;
QList<int> m_usbconid;