Skip to content

Commit

Permalink
Fixed memory leak in chatview initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Mar 31, 2024
1 parent 9242908 commit 717dbb8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/chatview_webkit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ ChatView::ChatView(QWidget *parent) : QFrame(parent), d(new ChatViewPrivate)
d->jsObject = new ChatViewJSObject(this); /* It's a session bridge between html and c++ part */
d->webView = new WebView(this);
d->webView->setFocusPolicy(Qt::NoFocus);
auto page = new ChatViewPage(d->webView);
d->webView->setPage(new ChatViewPage(d->webView));
d->webView->connectPageActions();

Expand Down

0 comments on commit 717dbb8

Please sign in to comment.