mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 09:19:01 +00:00
Changed: Minor changes
This commit is contained in:
parent
17169f50cf
commit
62d4b5d3a1
1 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,7 @@ CUninstallWizardDialog::CUninstallWizardDialog(QWidget *parent):QDialog(parent),
|
||||||
|
|
||||||
// click signals
|
// click signals
|
||||||
connect(uninstallButton, SIGNAL(clicked()), SLOT(accept()));
|
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 *)));
|
connect(model, SIGNAL(itemChanged(QStandardItem *)), SLOT(onItemChanged(QStandardItem *)));
|
||||||
|
|
||||||
// semi-hack to not update UI on another thread
|
// semi-hack to not update UI on another thread
|
||||||
|
@ -255,6 +255,7 @@ void CUninstallWizardDialog::updateSizes()
|
||||||
void CUninstallWizardDialog::updateButtons()
|
void CUninstallWizardDialog::updateButtons()
|
||||||
{
|
{
|
||||||
QStandardItemModel *model = qobject_cast<QStandardItemModel*>(componentsTreeView->model());
|
QStandardItemModel *model = qobject_cast<QStandardItemModel*>(componentsTreeView->model());
|
||||||
|
if (model == NULL) return;
|
||||||
|
|
||||||
int checkedCount = 0;
|
int checkedCount = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue