From 139e84d6464c7d73bccf6a401247380832c12024 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 25 Aug 2014 08:21:28 +0200 Subject: [PATCH] Some more updates. --- src/gui/formupdate.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/formupdate.cpp b/src/gui/formupdate.cpp index 4dac29772..48a450e22 100755 --- a/src/gui/formupdate.cpp +++ b/src/gui/formupdate.cpp @@ -148,7 +148,7 @@ void FormUpdate::saveUpdateFile(const QByteArray &file_contents) { qDebug("Update file contents was successfuly saved."); - m_updateFilePath = QDir::toNativeSeparators(output_file.fileName()); + m_updateFilePath = output_file.fileName(); m_readyToInstall = true; } else { @@ -199,7 +199,8 @@ void FormUpdate::startUpdate() { // via self-update feature. close(); - qDebug("Preparing to launch external installer '%s'.", qPrintable(m_updateFilePath)); + qDebug("Preparing to launch external installer '%s'.", + qPrintable(QDir::toNativeSeparators(m_updateFilePath))); if (!QProcess::startDetached(m_updateFilePath)) { qDebug("External updater was not launched due to error.");