forked from qt-creator/qt-creator
UpdateInfo: Inherit environment when checking updates
Broken since 26ba9e62f3 (UpdateInfo: Fix
checking for updates)
Change-Id: I89e8346f4cba1cd6b40382e644d3a54aafc959e2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Martin Kampas
parent
75303523ef
commit
f67b8405a9
@@ -123,7 +123,7 @@ void UpdateInfoPlugin::startCheckForUpdates()
|
|||||||
{
|
{
|
||||||
stopCheckForUpdates();
|
stopCheckForUpdates();
|
||||||
|
|
||||||
QProcessEnvironment env;
|
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
|
||||||
env.insert(QLatin1String("QT_LOGGING_RULES"), QLatin1String("*=false"));
|
env.insert(QLatin1String("QT_LOGGING_RULES"), QLatin1String("*=false"));
|
||||||
d->m_checkUpdatesCommand = new ShellCommand(QString(), env);
|
d->m_checkUpdatesCommand = new ShellCommand(QString(), env);
|
||||||
connect(d->m_checkUpdatesCommand, &ShellCommand::stdOutText, this, &UpdateInfoPlugin::collectCheckForUpdatesOutput);
|
connect(d->m_checkUpdatesCommand, &ShellCommand::stdOutText, this, &UpdateInfoPlugin::collectCheckForUpdatesOutput);
|
||||||
|
|||||||
Reference in New Issue
Block a user