mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
delete MainWindow on close
This commit is contained in:
@@ -93,6 +93,8 @@ MainWindow::MainWindow(const QDir &home) :
|
||||
zones_(new Zones), currentNotesChanged(false),
|
||||
ride(NULL)
|
||||
{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
settings = GetApplicationSettings();
|
||||
|
||||
QVariant unit = settings->value(GC_UNIT);
|
||||
|
||||
Reference in New Issue
Block a user