Commit ba75cf8b authored by Kai Koehne's avatar Kai Koehne Committed by Eike Ziller

UpdateInfo: Fix implicit conversion to QString:

src\plugins\updateinfo\updateinfoplugin.cpp(127): error C2248: 'QString::QString': cannot access private member declared in class 'QString'

Change-Id: I4dfed40d14505fd5fae1cc87a08e1d58347f197d
Reviewed-by: default avatarRiho Pihlak <rpihlak@gmail.com>
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent 26ba9e62
......@@ -124,7 +124,7 @@ void UpdateInfoPlugin::startCheckForUpdates()
stopCheckForUpdates();
QProcessEnvironment env;
env.insert("QT_LOGGING_RULES", "*=false");
env.insert(QLatin1String("QT_LOGGING_RULES"), QLatin1String("*=false"));
d->m_checkUpdatesCommand = new ShellCommand(QString(), env);
connect(d->m_checkUpdatesCommand, &ShellCommand::stdOutText, this, &UpdateInfoPlugin::collectCheckForUpdatesOutput);
connect(d->m_checkUpdatesCommand, &ShellCommand::finished, this, &UpdateInfoPlugin::checkForUpdatesFinished);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment