~ubuntu-branches/ubuntu/raring/kadu/raring

« back to all changes in this revision

Viewing changes to plugins/config_wizard/gui/widgets/config-wizard-set-up-account-page.cpp

  • Committer: Package Import Robot
  • Author(s): Patryk Cisek
  • Date: 2012-09-15 13:02:48 UTC
  • mfrom: (0.95.1) (0.94.1) (0.91.2) (2.3.37 sid)
  • Revision ID: package-import@ubuntu.com-20120915130248-hu211iq9ow3s3oas
Tags: 0.12.3-1
* New upstream release
* Removed debian/patches/05-hotfix_upstream.patch and
  debian/patches/06-mpris_player-harden-fix.patch -- patches applied
  upstream
* Icon theme glass is installed again, since all icon sizes have been
  corrected
* Changed build dependency from aspell to enchant (Upstream's suggestion)

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
                // NOTE: This signal is declared by AccountCreateWidget and AccountCreateWidget
77
77
                // but not by ModalConfigurationWidget. It will work correctly with Qt meta-object system, though.
78
78
                connect(AccountWidget.data(), SIGNAL(accountCreated(Account)), this, SLOT(accountCreated(Account)));
79
 
                // Same as above, parentWidget() is QWizard.
80
 
                connect(AccountWidget.data(), SIGNAL(destroyed()), parentWidget(), SLOT(back()));
 
79
                // Same as above, window() is QWizard.
 
80
                connect(AccountWidget.data(), SIGNAL(destroyed()), window(), SLOT(back()));
81
81
        }
82
82
}
83
83
 
85
85
{
86
86
        if (AccountWidget)
87
87
        {
 
88
                disconnect(AccountWidget.data(), SIGNAL(destroyed()), window(), SLOT(back()));
88
89
                disconnect(AccountWidget.data(), 0, this, 0);
89
90
                delete AccountWidget.data();
90
91
        }