mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +03:00
Native rendering breaks kerning
This commit is contained in:
parent
87122ffe77
commit
375e20462b
1 changed files with 0 additions and 4 deletions
|
@ -170,10 +170,6 @@ TimelineViewManager::TimelineViewManager(CallManager *callManager, ChatPage *par
|
||||||
view->setResizeMode(QQuickWidget::SizeRootObjectToView);
|
view->setResizeMode(QQuickWidget::SizeRootObjectToView);
|
||||||
container->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
container->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||||
|
|
||||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
|
||||||
view->quickWindow()->setTextRenderType(QQuickWindow::NativeTextRendering);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
connect(view, &QQuickWidget::statusChanged, this, [](QQuickWidget::Status status) {
|
connect(view, &QQuickWidget::statusChanged, this, [](QQuickWidget::Status status) {
|
||||||
nhlog::ui()->debug("Status changed to {}", status);
|
nhlog::ui()->debug("Status changed to {}", status);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue