sync the config so reparsing works
This commit is contained in:
parent
e54d75fb80
commit
94943e21e8
@ -53,6 +53,7 @@ void ThemeTest::initTestCase()
|
|||||||
plasmaConfig.writeEntry("name", "default");
|
plasmaConfig.writeEntry("name", "default");
|
||||||
m_svg = new Plasma::Svg();
|
m_svg = new Plasma::Svg();
|
||||||
|
|
||||||
|
cg.sync(); // sync explicitly so it will be correctly parsed
|
||||||
KSharedConfig::openConfig()->reparseConfiguration();
|
KSharedConfig::openConfig()->reparseConfiguration();
|
||||||
KIconTheme::reconfigure();
|
KIconTheme::reconfigure();
|
||||||
KIconLoader::global()->reconfigure(QString());
|
KIconLoader::global()->reconfigure(QString());
|
||||||
|
Loading…
Reference in New Issue
Block a user