From 62d4b5d3a1218e806fe7fe292ce1625ff49eaa03 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 12 Jun 2016 15:11:17 +0200 Subject: [PATCH] Changed: Minor changes --- .../tools/client/ryzom_installer/src/uninstallwizarddialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/uninstallwizarddialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/uninstallwizarddialog.cpp index 34d7c3dc0..b418e8c85 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/uninstallwizarddialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/uninstallwizarddialog.cpp @@ -94,7 +94,7 @@ CUninstallWizardDialog::CUninstallWizardDialog(QWidget *parent):QDialog(parent), // click signals connect(uninstallButton, SIGNAL(clicked()), SLOT(accept())); - connect(quitButton, SIGNAL(clicked()), SLOT(reject())); + connect(cancelButton, SIGNAL(clicked()), SLOT(reject())); connect(model, SIGNAL(itemChanged(QStandardItem *)), SLOT(onItemChanged(QStandardItem *))); // semi-hack to not update UI on another thread @@ -255,6 +255,7 @@ void CUninstallWizardDialog::updateSizes() void CUninstallWizardDialog::updateButtons() { QStandardItemModel *model = qobject_cast(componentsTreeView->model()); + if (model == NULL) return; int checkedCount = 0;