summaryrefslogtreecommitdiff
path: root/src/plugins/updateinfo
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2016-04-25 12:27:48 +0200
committerEike Ziller <eike.ziller@qt.io>2016-04-25 11:07:33 +0000
commitba75cf8b6d27008fb6b2c3816d6e41b7884054c0 (patch)
tree32cd03b455698d601c8f72d1cdc938cce5245f23 /src/plugins/updateinfo
parent26ba9e62f36871c71df8ed54509d22b9c19d0c56 (diff)
downloadqt-creator-ba75cf8b6d27008fb6b2c3816d6e41b7884054c0.tar.gz
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>
Diffstat (limited to 'src/plugins/updateinfo')
-rw-r--r--src/plugins/updateinfo/updateinfoplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/updateinfo/updateinfoplugin.cpp b/src/plugins/updateinfo/updateinfoplugin.cpp
index b6fb7fd21e..b6c9d3b146 100644
--- a/src/plugins/updateinfo/updateinfoplugin.cpp
+++ b/src/plugins/updateinfo/updateinfoplugin.cpp
@@ -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);