mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
While browsing the GC code, I found that there was not an explicit
deletion of the Tools (CP Calculator) Dialog, nor was the attribute set that tells the framework to delete the dialog when it's dismissed. Since the other dialogs use the attribute, this patch does the same. --jtc
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
void ToolsDialog::setupUi(QDialog *ToolsDialog)
|
||||
{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
if (ToolsDialog->objectName().isEmpty())
|
||||
ToolsDialog->setObjectName(QString::fromUtf8("ToolsDialog"));
|
||||
ToolsDialog->setWindowModality(Qt::WindowModal);
|
||||
|
||||
Reference in New Issue
Block a user