MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / setIsPin

Method setIsPin

ChatView/ChatView.cpp:119–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected