Commit f7fbcff8 authored by Harald Sitter's avatar Harald Sitter 🚔

drop explicit disconnect in dtor

Summary:
when this is getting destroyed the qobject dtor will automatically
disconnect everything. the explicit disconnect calls serve no purpose and
aren't done in any other dtors.

Test Plan: it doesn't crash

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19684
parent da8536a4
......@@ -599,11 +599,6 @@ BugzillaReportInformationDialog::BugzillaReportInformationDialog(BugzillaDuplica
BugzillaReportInformationDialog::~BugzillaReportInformationDialog()
{
disconnect(m_parent->bugzillaManager(), &BugzillaManager::bugReportFetched,
this, &BugzillaReportInformationDialog::bugFetchFinished);
disconnect(m_parent->bugzillaManager(), SIGNAL(bugReportError(QString,QObject*)),
this, SLOT(bugFetchError(QString,QObject*)));
KConfigGroup config(KSharedConfig::openConfig(), "BugzillaReportInformationDialog");
KWindowConfig::saveWindowSize(windowHandle(), config);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment