mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Move common initialization code to the parent class
This commit is contained in:
@ -176,10 +176,6 @@ GridComicsView::GridComicsView(QWidget *parent)
|
||||
l->setContentsMargins(0, 0, 0, 0);
|
||||
l->setSpacing(0);
|
||||
|
||||
// QQuickWidget requires rendering into OpenGL framebuffer objects
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
view->quickWindow()->setGraphicsApi(QSGRendererInterface::OpenGL);
|
||||
#endif
|
||||
QLOG_TRACE() << "GridComicsView";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user