forked from qt-creator/qt-creator
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: Riho Pihlak <rpihlak@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user