forked from len0rd/rockbox
Simplify and cleanup rockbox-info.txt handling.
Simplify RockboxInfo file handling. Remove Detect::installedVersion() and Detect::installedTarget(), as those became wrappers around RockboxInfo without functionality. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22237 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ad7dab615f
commit
84ced00bbd
8 changed files with 23 additions and 53 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include "rbzip.h"
|
||||
#include "detect.h"
|
||||
#include "rbsettings.h"
|
||||
#include "utils.h"
|
||||
|
||||
Install::Install(QWidget *parent) : QDialog(parent)
|
||||
{
|
||||
|
|
@ -34,7 +35,8 @@ Install::Install(QWidget *parent) : QDialog(parent)
|
|||
connect(ui.backup, SIGNAL(stateChanged(int)), this, SLOT(backupCheckboxChanged(int)));
|
||||
|
||||
//! check if rockbox is already installed
|
||||
QString version = Detect::installedVersion(RbSettings::value(RbSettings::Mountpoint).toString());
|
||||
RockboxInfo rbinfo(RbSettings::value(RbSettings::Mountpoint).toString());
|
||||
QString version = rbinfo.version();
|
||||
|
||||
if(version != "")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue