Only delete the loader if it was created
This commit is contained in:
committed by
craig.p.drummond
parent
9e36f0b3e4
commit
7bff476c58
@@ -95,7 +95,9 @@ WikipediaSettings::WikipediaSettings(QWidget *p)
|
||||
|
||||
WikipediaSettings::~WikipediaSettings()
|
||||
{
|
||||
loader->deleteLater();
|
||||
if (loader) {
|
||||
loader->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
void WikipediaSettings::showEvent(QShowEvent *e)
|
||||
|
||||
Reference in New Issue
Block a user