Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 560 Lines • ▼ Show 20 Line(s) | 556 | { | |||
---|---|---|---|---|---|
561 | return false; | 561 | return false; | ||
562 | } | 562 | } | ||
563 | 563 | | |||
564 | void ShellClient::blockActivityUpdates(bool b) | 564 | void ShellClient::blockActivityUpdates(bool b) | ||
565 | { | 565 | { | ||
566 | Q_UNUSED(b) | 566 | Q_UNUSED(b) | ||
567 | } | 567 | } | ||
568 | 568 | | |||
569 | QString ShellClient::caption(bool full) const | | |||
570 | { | | |||
571 | QString caption = m_caption; | | |||
572 | if (full) { | | |||
573 | caption += m_captionSuffix; | | |||
574 | } | | |||
575 | return caption; | | |||
576 | } | | |||
577 | | ||||
578 | void ShellClient::updateCaption() | 569 | void ShellClient::updateCaption() | ||
579 | { | 570 | { | ||
580 | const QString oldSuffix = m_captionSuffix; | 571 | const QString oldSuffix = m_captionSuffix; | ||
581 | const auto shortcut = shortcutCaptionSuffix(); | 572 | const auto shortcut = shortcutCaptionSuffix(); | ||
582 | m_captionSuffix = shortcut; | 573 | m_captionSuffix = shortcut; | ||
583 | if ((!isSpecialWindow() || isToolbar()) && findClientWithSameCaption()) { | 574 | if ((!isSpecialWindow() || isToolbar()) && findClientWithSameCaption()) { | ||
584 | int i = 2; | 575 | int i = 2; | ||
585 | do { | 576 | do { | ||
▲ Show 20 Lines • Show All 973 Lines • Show Last 20 Lines |