autotests: Disable outline in breeze
Some our tests assume that with "none" border size, the decoration has no borders. When breeze paints an outline, that's not the case.
This commit is contained in:
parent
b21229e59a
commit
1eb95982dc
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ WaylandTestApplication::WaylandTestApplication(OperationMode mode, int &argc, ch
|
|||
qunsetenv("XKB_DEFAULT_VARIANT");
|
||||
qunsetenv("XKB_DEFAULT_OPTIONS");
|
||||
|
||||
auto breezerc = KSharedConfig::openConfig(QStringLiteral("breezerc"));
|
||||
breezerc->group(QStringLiteral("Common")).writeEntry(QStringLiteral("OutlineIntensity"), QStringLiteral("OutlineOff"));
|
||||
breezerc->sync();
|
||||
|
||||
auto config = KSharedConfig::openConfig(QString(), KConfig::SimpleConfig);
|
||||
KConfigGroup windowsGroup = config->group(QStringLiteral("Windows"));
|
||||
windowsGroup.writeEntry("Placement", Placement::policyToString(PlacementSmart));
|
||||
|
|
Loading…
Reference in a new issue