mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 15:42:28 -05:00
Replace toAscii() / fromAscii() with Latin1() functions.
Qt5 deprecates the Ascii conversion functions, and the Latin1 functions pretty much do the same. Change-Id: I5dee6a443fcfee6afd3256ee536698bcf65ff896
This commit is contained in:
parent
abd87ccf15
commit
8f4ab09a8e
4 changed files with 12 additions and 12 deletions
|
|
@ -87,7 +87,7 @@ bool BootloaderInstallHex::install(void)
|
|||
while(i--) {
|
||||
if(md5sums[i].orig == 0)
|
||||
m_model--;
|
||||
if(!qstrcmp(md5sums[i].orig, hash.toAscii()))
|
||||
if(!qstrcmp(md5sums[i].orig, hash.toLatin1()))
|
||||
break;
|
||||
}
|
||||
if(i < 0) {
|
||||
|
|
@ -110,8 +110,8 @@ bool BootloaderInstallHex::install(void)
|
|||
emit logItem(tr("Descrambling file"), LOGINFO);
|
||||
m_descrambled.open();
|
||||
int result;
|
||||
result = iriver_decode(m_offile.toAscii().data(),
|
||||
m_descrambled.fileName().toAscii().data(), FALSE, STRIP_NONE);
|
||||
result = iriver_decode(m_offile.toLatin1().data(),
|
||||
m_descrambled.fileName().toLatin1().data(), FALSE, STRIP_NONE);
|
||||
qDebug() << "[BootloaderInstallHex] iriver_decode" << result;
|
||||
|
||||
if(result < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue