diff --git a/autotests/themetest.cpp b/autotests/themetest.cpp index e185ed4d7..90657cf3c 100644 --- a/autotests/themetest.cpp +++ b/autotests/themetest.cpp @@ -52,6 +52,10 @@ void ThemeTest::initTestCase() KConfigGroup plasmaConfig(KSharedConfig::openConfig("plasmarc"), "Theme"); plasmaConfig.writeEntry("name", "default"); m_svg = new Plasma::Svg(); + + KSharedConfig::openConfig()->reparseConfiguration(); + KIconTheme::reconfigure(); + KIconLoader::global()->reconfigure(QString()); } void ThemeTest::cleanupTestCase()