Delete download dialog when it is closed
When dialog is not deleted and you open it again, dialog is not re-downloaded REVIEW:107413
This commit is contained in:
parent
c91905047b
commit
ad15739641
@ -109,6 +109,7 @@ void PlasmoidPackage::createNewWidgetBrowser(QWidget *parent)
|
||||
m_knsDialog = knsDialog = new KNS3::DownloadDialog("plasmoids.knsrc", parent);
|
||||
knsDialog->setProperty("DoNotCloseController", true);
|
||||
connect(knsDialog, SIGNAL(accepted()), this, SIGNAL(newWidgetBrowserFinished()));
|
||||
connect(knsDialog, SIGNAL(accepted()), knsDialog, SLOT(deleteLater()));
|
||||
}
|
||||
|
||||
knsDialog->show();
|
||||
|
Loading…
Reference in New Issue
Block a user