diff options
| author | 2015-09-30 16:18:15 +0200 | |
|---|---|---|
| committer | 2015-09-30 16:18:15 +0200 | |
| commit | ce385633883c0ac7da4149654a3d29a78a1329de (patch) | |
| tree | 346a61b13656f20e377f606e2e3e8d40efae7b3b /src/modules | |
| parent | Merge branch 'master' of https://github.com/kvirc/KVIrc (diff) | |
| download | KVIrc-ce385633883c0ac7da4149654a3d29a78a1329de.tar.gz KVIrc-ce385633883c0ac7da4149654a3d29a78a1329de.tar.bz2 KVIrc-ce385633883c0ac7da4149654a3d29a78a1329de.zip | |
Fixes a crash that happens when you close the main window with the theme management dialog open.
This undoes part of f2485de, so beware.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/theme/ThemeManagementDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/theme/ThemeManagementDialog.cpp b/src/modules/theme/ThemeManagementDialog.cpp index 9e7d3861f..a06b47f7b 100644 --- a/src/modules/theme/ThemeManagementDialog.cpp +++ b/src/modules/theme/ThemeManagementDialog.cpp @@ -300,7 +300,7 @@ void ThemeManagementDialog::display(bool bTopLevel) void ThemeManagementDialog::cleanup() { if(!m_pInstance)return; - m_pInstance->deleteLater(); + delete m_pInstance; m_pInstance = 0; } |
