summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-10-31 21:54:59 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-02 12:53:10 -0800
commita48e6241dc86c722032f7cd15bcffb565d5dbb4f (patch)
treed003210af8804bc0736b3c857255a6ee3d717285 /desktop-widgets/preferences
parentc66de6f707dea0b1b0f1d343e4a508880171ebc3 (diff)
downloadsubsurface-a48e6241dc86c722032f7cd15bcffb565d5dbb4f.tar.gz
Forgot to set the static variable static
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences')
-rw-r--r--desktop-widgets/preferences/preferencesdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp
index 0af7a78bd..9041668f8 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -18,7 +18,7 @@
PreferencesDialog* PreferencesDialog::instance()
{
- PreferencesDialog *self = new PreferencesDialog();
+ static PreferencesDialog *self = new PreferencesDialog();
return self;
}