diff options
Diffstat (limited to 'tests/environmentvariable/environmentvariabletest.cpp')
-rw-r--r-- | tests/environmentvariable/environmentvariabletest.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/environmentvariable/environmentvariabletest.cpp b/tests/environmentvariable/environmentvariabletest.cpp index 532fb9a22..c80581d81 100644 --- a/tests/environmentvariable/environmentvariabletest.cpp +++ b/tests/environmentvariable/environmentvariabletest.cpp @@ -36,8 +36,6 @@ #include "init.h" -#include <kdupdaterapplication.h> - #include <QDir> #include <QDirIterator> #include <QFileInfo> @@ -54,10 +52,9 @@ void EnvironmentVariableTest::testPersistentNonSystem() #ifndef Q_OS_WIN QSKIP("This operation only works on Windows"); #endif - KDUpdater::Application app; QString key = QLatin1String("IFW_TestKey"); QString value = QLatin1String("IFW_TestValue"); - QInstaller::EnvironmentVariableOperation op; + QInstaller::EnvironmentVariableOperation op(0); op.setArguments( QStringList() << key << value << QLatin1String("true") @@ -83,10 +80,9 @@ void EnvironmentVariableTest::testNonPersistentNonSystem() #ifndef Q_OS_WIN QSKIP("This operation only works on Windows"); #endif - KDUpdater::Application app; QString key = QLatin1String("IFW_TestKey"); QString value = QLatin1String("IFW_TestValue"); - QInstaller::EnvironmentVariableOperation op; + QInstaller::EnvironmentVariableOperation op(0); op.setArguments( QStringList() << key << value << QLatin1String("false") |