mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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:
parent
20b0dd2788
commit
da358058cb
6 changed files with 1 additions and 42 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -94,7 +94,6 @@ class RbSettings : public QObject
|
|||
CurName,
|
||||
CurBuildserverModel,
|
||||
CurConfigureModel,
|
||||
CurTargetId,
|
||||
};
|
||||
|
||||
//! call this to flush the user Settings
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue