summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/environmentvariablesoperation.cpp
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-06-21 18:05:37 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-06-21 18:05:37 +0200
commit56ac9b2c3e0ef8e1d57ecda09e0ffeb1927293b2 (patch)
tree55b71b9a2b1fa0cfd71d4a2766717f2b64615bbf /installerbuilder/libinstaller/environmentvariablesoperation.cpp
parent986955efcc108b33321e7175fc8ffd6a28d0568d (diff)
we only can create the instance here
Diffstat (limited to 'installerbuilder/libinstaller/environmentvariablesoperation.cpp')
-rw-r--r--installerbuilder/libinstaller/environmentvariablesoperation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/installerbuilder/libinstaller/environmentvariablesoperation.cpp b/installerbuilder/libinstaller/environmentvariablesoperation.cpp
index 9bffa429c..3fc60d94f 100644
--- a/installerbuilder/libinstaller/environmentvariablesoperation.cpp
+++ b/installerbuilder/libinstaller/environmentvariablesoperation.cpp
@@ -175,6 +175,7 @@ bool EnvironmentVariableOperation::performOperation()
}
#endif
Q_ASSERT( !isPersistent );
+ Q_UNUSED(isPersistent)
setValue( QLatin1String( "oldvalue" ), Environment::instance()->value( name ) );
Environment::instance()->setTemporaryValue( name, value );