Fix iconitem test - second try
This commit is contained in:
parent
fa1ca80281
commit
ab302872d3
@ -3,8 +3,6 @@ Name=Unittest Theme
|
||||
|
||||
DisplayDepth=32
|
||||
|
||||
Inherits=breeze
|
||||
|
||||
DesktopDefault=48
|
||||
DesktopSizes=16,22,32,48,64,128,256
|
||||
ToolbarDefault=22
|
||||
@ -21,7 +19,7 @@ DialogSizes=16,22,32,48,64,128,256
|
||||
########## Directories
|
||||
########## ordered by category and alphabetically
|
||||
|
||||
Directories=apps/22,apps/32
|
||||
Directories=apps/22,apps/32,apps/48
|
||||
|
||||
[apps/22]
|
||||
Size=22
|
||||
|
@ -61,6 +61,9 @@ void IconItemTest::initTestCase()
|
||||
|
||||
QFile::remove(configPath);
|
||||
|
||||
QIcon::setThemeSearchPaths({QFINDTESTDATA("data/icons")});
|
||||
QIcon::setThemeName("test-theme");
|
||||
|
||||
KConfigGroup cg(KSharedConfig::openConfig(), "Icons");
|
||||
cg.writeEntry("Theme", "test-theme");
|
||||
KConfigGroup plasmaConfig(KSharedConfig::openConfig("plasmarc"), "Theme");
|
||||
|
Loading…
Reference in New Issue
Block a user