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

Method restoreSettings

ChatView/ChatView.cpp:103–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void 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
114bool ChatView::isPin() const
115{

Callers

nothing calls this directly

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected