[SCM] Kaboom - Debian KDE 3->4 migration tool branch, master, updated. 762b3c1aea63d4fe262117eea9770aac03538676
George Kiagiadakis
gkiagia-guest at alioth.debian.org
Thu Feb 19 15:17:21 UTC 2009
The following commit has been merged in the master branch:
commit 762b3c1aea63d4fe262117eea9770aac03538676
Author: George Kiagiadakis <gkiagia at users.sourceforge.net>
Date: Thu Feb 19 17:13:04 2009 +0200
Redo (only crash fix): Do not crash if d->backup is not initialized.
diff --git a/choicepage.cpp b/choicepage.cpp
index c474f0e..1903932 100644
--- a/choicepage.cpp
+++ b/choicepage.cpp
@@ -19,6 +19,7 @@
class ChoicePagePrivate
{
public:
+ ChoicePagePrivate() : backup(NULL) {}
QLabel *text;
QRadioButton *clean;
QRadioButton *migrate;
@@ -77,7 +78,7 @@ ChoicePage::ChoicePage(QWidget *parent) : QWizardPage(parent)
bool ChoicePage::backupSelected() const
{
- return d->backup->isChecked();
+ return d->backup ? d->backup->isChecked() : false;
}
MigrationTool::Selection ChoicePage::selected() const
--
Kaboom - Debian KDE 3->4 migration tool
More information about the pkg-kde-commits
mailing list