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:
Tomaz Canabrava 2015-10-31 21:54:59 -02:00 committed by Dirk Hohndel
parent c66de6f707
commit a48e6241dc

View file

@ -18,7 +18,7 @@
PreferencesDialog* PreferencesDialog::instance() PreferencesDialog* PreferencesDialog::instance()
{ {
PreferencesDialog *self = new PreferencesDialog(); static PreferencesDialog *self = new PreferencesDialog();
return self; return self;
} }