mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-17 20:44:32 -04:00
Add ChatModel
This commit is contained in:
@ -24,9 +24,9 @@
|
||||
|
||||
namespace QodeAssist::Chat {
|
||||
|
||||
BaseChatWidget::BaseChatWidget(QWidget *parent)
|
||||
BaseChatWidget::BaseChatWidget(QWidget *parent) : QQuickWidget(parent)
|
||||
{
|
||||
setSource(QUrl("qrc:/ChatView/qml/ChatView.qml"));
|
||||
setSource(QUrl("qrc:/ChatView/qml/RootItem.qml"));
|
||||
setResizeMode(QQuickWidget::SizeRootObjectToView);
|
||||
|
||||
engine()->rootContext()->setContextObject(this);
|
||||
|
Reference in New Issue
Block a user