diff options
author | Katja Marttila <katja.marttila@qt.io> | 2018-11-01 10:38:13 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2019-01-09 05:41:16 +0000 |
commit | 9dacee18f9b7211699164bc70dd17f9934a15f50 (patch) | |
tree | d16ee18d0f54a9c28f07aeebab77bb8b9168da55 /tests/environmentvariable | |
parent | 818c8ab9836c3e949e891e2266807dbd59c31906 (diff) |
Replace 0 with nullptr
Prevents a lot of warnings seen in QtCreator
Change-Id: I63bf95aca68a04fc9fd0eecbe29c63e9b9c47efd
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'tests/environmentvariable')
-rw-r--r-- | tests/environmentvariable/environmentvariabletest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/environmentvariable/environmentvariabletest.cpp b/tests/environmentvariable/environmentvariabletest.cpp index 802be2077..98663efbf 100644 --- a/tests/environmentvariable/environmentvariabletest.cpp +++ b/tests/environmentvariable/environmentvariabletest.cpp @@ -49,7 +49,7 @@ void EnvironmentVariableTest::testPersistentNonSystem() #endif QString key = QLatin1String("IFW_TestKey"); QString value = QLatin1String("IFW_TestValue"); - QInstaller::EnvironmentVariableOperation op(0); + QInstaller::EnvironmentVariableOperation op(nullptr); op.setArguments( QStringList() << key << value << QLatin1String("true") @@ -77,7 +77,7 @@ void EnvironmentVariableTest::testNonPersistentNonSystem() #endif QString key = QLatin1String("IFW_TestKey"); QString value = QLatin1String("IFW_TestValue"); - QInstaller::EnvironmentVariableOperation op(0); + QInstaller::EnvironmentVariableOperation op(nullptr); op.setArguments( QStringList() << key << value << QLatin1String("false") |