Changeset View
Changeset View
Standalone View
Standalone View
kdecoration/breezesettingsprovider.cpp
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 45 | { | |||
---|---|---|---|---|---|
46 | // TODO: this is not thread safe! | 46 | // TODO: this is not thread safe! | ||
47 | if (!s_self) | 47 | if (!s_self) | ||
48 | { s_self = new SettingsProvider(); } | 48 | { s_self = new SettingsProvider(); } | ||
49 | 49 | | |||
50 | return s_self; | 50 | return s_self; | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | //__________________________________________________________________ | 53 | //__________________________________________________________________ | ||
54 | void SettingsProvider::reconfigure( void ) | 54 | void SettingsProvider::reconfigure() | ||
55 | { | 55 | { | ||
56 | if( !m_defaultSettings ) | 56 | if( !m_defaultSettings ) | ||
57 | { | 57 | { | ||
58 | m_defaultSettings = InternalSettingsPtr(new InternalSettings()); | 58 | m_defaultSettings = InternalSettingsPtr(new InternalSettings()); | ||
59 | m_defaultSettings->setCurrentGroup( QStringLiteral("Windeco") ); | 59 | m_defaultSettings->setCurrentGroup( QStringLiteral("Windeco") ); | ||
60 | } | 60 | } | ||
61 | 61 | | |||
62 | m_defaultSettings->load(); | 62 | m_defaultSettings->load(); | ||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |