summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@nokia.com>2012-03-15 11:42:34 +0100
committerKarsten Heimrich <karsten.heimrich@nokia.com>2012-03-16 17:40:27 +0100
commitf60c03d5bb03ba42955ce309a1765795f33e9bc1 (patch)
tree636cce9bdbcbf9b0ce1d928f8fdfd9ebf29f28dd /examples
parent5e0165328aebec9acbc3fc4679ef58857fe856fa (diff)
Fix formating and build with QT_NO_CAST_FROM_ASCII.
Change-Id: I00e4b1ec840d976dbfc7f0138726692a770aadba Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/testapp/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/testapp/mainwindow.cpp b/examples/testapp/mainwindow.cpp
index 97c534e2d..ab06df665 100644
--- a/examples/testapp/mainwindow.cpp
+++ b/examples/testapp/mainwindow.cpp
@@ -123,7 +123,7 @@ void MainWindow::checkForUpdates()
updatesInstalled();
} catch (const QInstaller::Error &error) {
QMessageBox::critical(this, tr("Check for Updates"), tr("Error while installing updates:\n%1")
- .arg(error.what()));
+ .arg(error.message()));
m_core.rollBackInstallation();
settings.setLastResult(tr("Software Update failed."));
} catch (...) {