| 117 | } |
| 118 | |
| 119 | void ChatView::setIsPin(bool newIsPin) |
| 120 | { |
| 121 | if (m_isPin == newIsPin) |
| 122 | return; |
| 123 | m_isPin = newIsPin; |
| 124 | |
| 125 | if (m_isPin) { |
| 126 | setFlags(baseFlags | Qt::WindowStaysOnTopHint); |
| 127 | } else { |
| 128 | setFlags(baseFlags); |
| 129 | } |
| 130 | |
| 131 | emit isPinChanged(); |
| 132 | } |
| 133 | |
| 134 | } // namespace QodeAssist::Chat |
nothing calls this directly
no outgoing calls
no test coverage detected