From 944ef39d83b705957d1756ae2f28f52d55d91673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 5 Mar 2014 14:07:49 +0100 Subject: [PATCH] [kwin/oxygen] Reorder variables in Oxygen::Factory The _config is needed before the _helper gets created otherwise it can end in a crash. --- clients/oxygen/oxygenfactory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/oxygen/oxygenfactory.h b/clients/oxygen/oxygenfactory.h index a64f832b0a..63bc9c376c 100644 --- a/clients/oxygen/oxygenfactory.h +++ b/clients/oxygen/oxygenfactory.h @@ -117,6 +117,9 @@ namespace Oxygen //! initialization flag bool _initialized; + //! config object + KSharedConfigPtr _config; + //! helper DecoHelper _helper; @@ -129,9 +132,6 @@ namespace Oxygen //! list of exceptiosn QList _exceptions; - //! config object - KSharedConfigPtr _config; - }; }