mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Ugly workaround for glitch when QOpenGLWidget (flow) is used just after any other widget in the views stack, somehow QOpenGLWidget is messing with the rendering of the side bar (wrong buffer swapping).
This commit is contained in:
parent
b8ec6250cb
commit
5137f5ded0
@ -18,6 +18,8 @@
|
||||
#include "empty_special_list.h"
|
||||
#include "yacreader_comics_views_manager.h"
|
||||
|
||||
#include "yacreader_sidebar.h"
|
||||
|
||||
#include "QsLog.h"
|
||||
|
||||
YACReaderNavigationController::YACReaderNavigationController(LibraryWindow *parent, YACReaderComicsViewsManager *comicsViewsManager) :
|
||||
@ -45,6 +47,10 @@ void YACReaderNavigationController::selectedFolder(const QModelIndex &mi)
|
||||
|
||||
loadFolderInfo(modelIndex);
|
||||
|
||||
//BUG, ugly workaround for glitch when QOpenGLWidget (flow) is used just after any other widget in the views stack
|
||||
//Somehow QOpenGLWidget is messing with the rendering of the side bar (wrong buffer swapping)
|
||||
libraryWindow->sideBar->update();
|
||||
|
||||
libraryWindow->setToolbarTitle(modelIndex);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user