| 101 | } |
| 102 | |
| 103 | void ChatView::restoreSettings() |
| 104 | { |
| 105 | QSettings settings; |
| 106 | const QRect savedGeometry |
| 107 | = settings.value("QodeAssist/ChatView/geometry", QRect(100, 100, 800, 600)).toRect(); |
| 108 | setGeometry(savedGeometry); |
| 109 | |
| 110 | const bool pinned = settings.value("QodeAssist/ChatView/pinned", false).toBool(); |
| 111 | setIsPin(pinned); |
| 112 | } |
| 113 | |
| 114 | bool ChatView::isPin() const |
| 115 | { |