summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/install.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/install.cpp')
-rw-r--r--rbutil/rbutilqt/install.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp
index e410222636..34a4da17e4 100644
--- a/rbutil/rbutilqt/install.cpp
+++ b/rbutil/rbutilqt/install.cpp
@@ -22,6 +22,7 @@
22#include "rbzip.h" 22#include "rbzip.h"
23#include "detect.h" 23#include "detect.h"
24#include "rbsettings.h" 24#include "rbsettings.h"
25#include "utils.h"
25 26
26Install::Install(QWidget *parent) : QDialog(parent) 27Install::Install(QWidget *parent) : QDialog(parent)
27{ 28{
@@ -34,7 +35,8 @@ Install::Install(QWidget *parent) : QDialog(parent)
34 connect(ui.backup, SIGNAL(stateChanged(int)), this, SLOT(backupCheckboxChanged(int))); 35 connect(ui.backup, SIGNAL(stateChanged(int)), this, SLOT(backupCheckboxChanged(int)));
35 36
36 //! check if rockbox is already installed 37 //! check if rockbox is already installed
37 QString version = Detect::installedVersion(RbSettings::value(RbSettings::Mountpoint).toString()); 38 RockboxInfo rbinfo(RbSettings::value(RbSettings::Mountpoint).toString());
39 QString version = rbinfo.version();
38 40
39 if(version != "") 41 if(version != "")
40 { 42 {