| 117 | |
| 118 | |
| 119 | void TestShellBuddy::enableOpenAfterCurrent(bool enable) |
| 120 | { |
| 121 | { |
| 122 | KConfigGroup uiGroup = KSharedConfig::openConfig()->group("UiSettings"); |
| 123 | uiGroup.writeEntry("TabBarOpenAfterCurrent", (enable ? 1 : 0)); |
| 124 | uiGroup.sync(); |
| 125 | } |
| 126 | Core::self()->uiControllerInternal()->loadSettings(); |
| 127 | QCOMPARE(Core::self()->uiControllerInternal()->openAfterCurrent(), enable); |
| 128 | } |
| 129 | |
| 130 | |
| 131 | // ------------------ Tests ------------------------------------------------- |
nothing calls this directly
no test coverage detected