summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-07-17 08:08:58 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-07-17 08:08:58 +0000
commit9c9bc1216c78f2295ede77462d1dadf107b8d456 (patch)
tree6fa738e228b14e300faa42ffd9827e06ca935084 /rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
parentb7fe90aa364c98eb2d5260dce0078f7ad034f0a3 (diff)
downloadrockbox-9c9bc1216c78f2295ede77462d1dadf107b8d456.tar.gz
rockbox-9c9bc1216c78f2295ede77462d1dadf107b8d456.tar.bz2
rockbox-9c9bc1216c78f2295ede77462d1dadf107b8d456.zip
Move some helper functions out of Autodetection.
Those functions are rather general, so put them into the Utils class instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30146 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstallsansa.cpp')
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallsansa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp b/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
index 0dc94c553c..05e7c96eea 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
@@ -22,7 +22,7 @@
#include "bootloaderinstallsansa.h"
#include "../sansapatcher/sansapatcher.h"
-#include "autodetection.h"
+#include "utils.h"
BootloaderInstallSansa::BootloaderInstallSansa(QObject *parent)
: BootloaderInstallBase(parent)
@@ -242,7 +242,7 @@ BootloaderInstallBase::BootloaderType BootloaderInstallSansa::installed(void)
bool BootloaderInstallSansa::sansaInitialize(struct sansa_t *sansa)
{
if(!m_blfile.isEmpty()) {
- QString devicename = Autodetection::resolveDevicename(m_blfile);
+ QString devicename = Utils::resolveDevicename(m_blfile);
if(devicename.isEmpty()) {
emit logItem(tr("Error: could not retrieve device name"), LOGERROR);
return false;