summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/bootloaderinstallams.cpp
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-11-22 14:28:48 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-11-22 14:28:48 +0000
commit6b06648239a8ef24623d4f27124ce738e27797fc (patch)
tree914c6e121de565e74334256532f6f4463fe25d88 /rbutil/rbutilqt/base/bootloaderinstallams.cpp
parente30d13e34453a42ad1fc3b3ceec431a84e4381b5 (diff)
downloadrockbox-6b06648239a8ef24623d4f27124ce738e27797fc.tar.gz
rockbox-6b06648239a8ef24623d4f27124ce738e27797fc.tar.bz2
rockbox-6b06648239a8ef24623d4f27124ce738e27797fc.zip
rbutilqt: always rename the OF to the name specified in rbtutil.ini
The OF could have been stored by the user with a different name git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23700 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstallams.cpp')
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallams.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallams.cpp b/rbutil/rbutilqt/base/bootloaderinstallams.cpp
index fddbd18820..dfa5d9f2b6 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallams.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallams.cpp
@@ -118,10 +118,8 @@ void BootloaderInstallAms::installStage2(void)
patch_firmware(sum.model,firmware_revision(sum.model),firmware_size,buf,len,of_packed,of_packedsize,rb_packed,rb_packedsize);
- /* construct path for write out. combine path of m_blfile with filename from of */
- QString outfilename = QFileInfo(m_blfile).absolutePath() + "/" +QFileInfo(m_offile).fileName();
- /* write out file*/
- QFile out(outfilename);
+ /* write out file */
+ QFile out(m_blfile);
if(!out.open(QIODevice::WriteOnly | QIODevice::Truncate))
{