Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindecoration/kcm.cpp
Show First 20 Lines • Show All 321 Lines • ▼ Show 20 Line(s) | 306 | { | |||
---|---|---|---|---|---|
322 | }); | 322 | }); | ||
323 | while (m_leftButtons->rowCount() > 0) { | 323 | while (m_leftButtons->rowCount() > 0) { | ||
324 | m_leftButtons->remove(0); | 324 | m_leftButtons->remove(0); | ||
325 | } | 325 | } | ||
326 | for (auto it = left.begin(); it != left.end(); ++it) { | 326 | for (auto it = left.begin(); it != left.end(); ++it) { | ||
327 | m_leftButtons->add(*it); | 327 | m_leftButtons->add(*it); | ||
328 | } | 328 | } | ||
329 | const auto &right = readDecorationButtons(config, "ButtonsOnRight", QVector<KDecoration2::DecorationButtonType >{ | 329 | const auto &right = readDecorationButtons(config, "ButtonsOnRight", QVector<KDecoration2::DecorationButtonType >{ | ||
330 | KDecoration2::DecorationButtonType::ContextHelp, | | |||
331 | KDecoration2::DecorationButtonType::Minimize, | 330 | KDecoration2::DecorationButtonType::Minimize, | ||
332 | KDecoration2::DecorationButtonType::Maximize, | 331 | KDecoration2::DecorationButtonType::Maximize, | ||
333 | KDecoration2::DecorationButtonType::Close | 332 | KDecoration2::DecorationButtonType::Close | ||
334 | }); | 333 | }); | ||
335 | while (m_rightButtons->rowCount() > 0) { | 334 | while (m_rightButtons->rowCount() > 0) { | ||
336 | m_rightButtons->remove(0); | 335 | m_rightButtons->remove(0); | ||
337 | } | 336 | } | ||
338 | for (auto it = right.begin(); it != right.end(); ++it) { | 337 | for (auto it = right.begin(); it != right.end(); ++it) { | ||
▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines |