diff options
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstallbase.cpp')
-rw-r--r-- | rbutil/rbutilqt/base/bootloaderinstallbase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp index f6fb33dcd4..6a2db76392 100644 --- a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp +++ b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp | |||
@@ -114,7 +114,7 @@ bool BootloaderInstallBase::backup(QString to) | |||
114 | } | 114 | } |
115 | QString tofile = to + "/" + QFileInfo(m_blfile).fileName(); | 115 | QString tofile = to + "/" + QFileInfo(m_blfile).fileName(); |
116 | qDebug() << "[BootloaderInstallBase] trying to backup" << m_blfile << "to" << tofile; | 116 | qDebug() << "[BootloaderInstallBase] trying to backup" << m_blfile << "to" << tofile; |
117 | if(!QFile::copy(resolvePathCase(m_blfile), tofile)) { | 117 | if(!QFile::copy(Utils::resolvePathCase(m_blfile), tofile)) { |
118 | emit logItem(tr("Creating backup copy failed."), LOGERROR); | 118 | emit logItem(tr("Creating backup copy failed."), LOGERROR); |
119 | return false; | 119 | return false; |
120 | } | 120 | } |
@@ -247,7 +247,7 @@ void BootloaderInstallBase::setBlFile(QStringList sl) | |||
247 | { | 247 | { |
248 | // figue which of the possible bootloader filenames is correct. | 248 | // figue which of the possible bootloader filenames is correct. |
249 | for(int a = 0; a < sl.size(); a++) { | 249 | for(int a = 0; a < sl.size(); a++) { |
250 | if(!resolvePathCase(sl.at(a)).isEmpty()) { | 250 | if(!Utils::resolvePathCase(sl.at(a)).isEmpty()) { |
251 | m_blfile = sl.at(a); | 251 | m_blfile = sl.at(a); |
252 | } | 252 | } |
253 | } | 253 | } |