summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
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 (...) {