diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2018-08-07 10:50:55 +0300 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2018-08-07 10:56:05 +0300 |
commit | 45bf2e9023761f261e32764f351cf936e8eb0226 (patch) | |
tree | c831ed3f4ec41edf11885acf37cbb3018f3c1070 /src/gui/updater | |
parent | de0883d1a8207eb7d5e530859efced3069d2e723 (diff) |
MSI: Fix crash in the auto updater
'auto' here is a QStringBuilder referencing a temporary
Ammend commit 150d4f5935c9480cae0a84506af4efa940b64095
(MSI: Always with logfile #6609)
Found in the crash reporter:
https://sentry.io/owncloud/desktop-win-and-mac/issues/623245771/
Diffstat (limited to 'src/gui/updater')
-rw-r--r-- | src/gui/updater/ocupdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/updater/ocupdater.cpp b/src/gui/updater/ocupdater.cpp index 9dc4ef9a3..e4e6b64af 100644 --- a/src/gui/updater/ocupdater.cpp +++ b/src/gui/updater/ocupdater.cpp @@ -208,7 +208,7 @@ void OCUpdater::slotStartInstaller() return QDir::toNativeSeparators(path); }; - auto msiLogFile = cfg.configPath() + "msi.log"; + QString msiLogFile = cfg.configPath() + "msi.log"; QString command = QString("&{msiexec /norestart /passive /i '%1' /L*V '%2'| Out-Null ; &'%3'}") .arg(preparePathForPowershell(updateFile)) .arg(preparePathForPowershell(msiLogFile)) |