summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-06-10 14:52:15 +0200
committerkh1 <qt-info@nokia.com>2011-06-10 14:52:15 +0200
commitf7590603a2bb7fd842eb505b0f51762b370c5a46 (patch)
tree05c5eb7b87359fd735a04539566e2497834ae8d7 /examples
parent8cff7231bb566c83e20571cee722a4edfa9475a1 (diff)
Add one more constant.
Diffstat (limited to 'examples')
-rw-r--r--examples/testapp/mainwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/testapp/mainwindow.cpp b/examples/testapp/mainwindow.cpp
index 9c7364de5..c63cb55bb 100644
--- a/examples/testapp/mainwindow.cpp
+++ b/examples/testapp/mainwindow.cpp
@@ -109,8 +109,7 @@ void MainWindow::checkForUpdates()
}
// set the target directory to the actual one
- m_installer.setValue(QLatin1String("TargetDir"), QFileInfo(updaterapp.packagesInfo()->fileName())
- .absolutePath());
+ m_installer.setValue(scTargetDir, QFileInfo(updaterapp.packagesInfo()->fileName()).absolutePath());
// this will automatically mark components as to get installed
ComponentSelectionDialog componentSelection(&m_installer, this);