rbutil: use target-id from rockbox-info.txt and remove it from rbutil.ini

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22463 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2009-08-22 14:05:20 +00:00
parent 20b0dd2788
commit da358058cb
6 changed files with 1 additions and 42 deletions

View file

@ -55,7 +55,6 @@ const static struct {
{ RbSettings::CurName, ":platform:/name", "" },
{ RbSettings::CurBuildserverModel, ":platform:/buildserver_modelname", "" },
{ RbSettings::CurConfigureModel, ":platform:/configure_modelname", "" },
{ RbSettings::CurTargetId, ":platform:/targetid", "" },
};
// user settings

View file

@ -94,7 +94,6 @@ class RbSettings : public QObject
CurName,
CurBuildserverModel,
CurConfigureModel,
CurTargetId,
};
//! call this to flush the user Settings

View file

@ -57,6 +57,7 @@ bool VoiceFileCreator::createVoiceFile()
QString target = info.target();
QString features = info.features();
QString version = info.version();
m_targetid = info.targetID().toInt();
version = version.left(version.indexOf("-")).remove("r");
//prepare download url

View file

@ -40,7 +40,6 @@ public:
bool createVoiceFile();
void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; }
void setTargetId(int id){m_targetid = id;}
void setLang(QString name){m_lang =name;}
void setWavtrimThreshold(int th){m_wavtrimThreshold = th;}