mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 18:33:09 -05:00
Remove software and opengl flow implementations
This simplifies the code base A LOT.
This commit is contained in:
@ -19,14 +19,7 @@ ClassicComicsView::ClassicComicsView(QWidget *parent)
|
||||
settings->beginGroup("libraryConfig");
|
||||
// FLOW-----------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------
|
||||
#ifndef NO_OPENGL
|
||||
if ((settings->value(USE_OPEN_GL).toBool() == true))
|
||||
comicFlow = new ComicFlowWidgetGL(0);
|
||||
else
|
||||
comicFlow = new ComicFlowWidgetSW(0);
|
||||
#else
|
||||
comicFlow = new ComicFlowWidgetSW(0);
|
||||
#endif
|
||||
comicFlow = new ComicFlowWidget(0);
|
||||
comicFlow->updateConfig(settings);
|
||||
comicFlow->setFocusPolicy(Qt::StrongFocus);
|
||||
comicFlow->setShowMarks(true);
|
||||
|
||||
Reference in New Issue
Block a user