diff options
Diffstat (limited to 'examples/testapp/mainwindow.cpp')
-rw-r--r-- | examples/testapp/mainwindow.cpp | 2 |
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 (...) { |