Forgot to set the static variable static
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c66de6f707
commit
a48e6241dc
@ -18,7 +18,7 @@
|
||||
|
||||
PreferencesDialog* PreferencesDialog::instance()
|
||||
{
|
||||
PreferencesDialog *self = new PreferencesDialog();
|
||||
static PreferencesDialog *self = new PreferencesDialog();
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user