Moved hack to a better place, this should work in all situations.

This commit is contained in:
Luis Ángel San Martín
2016-08-27 10:49:40 +02:00
parent 5137f5ded0
commit f326d8761b
2 changed files with 6 additions and 6 deletions

View File

@ -18,8 +18,6 @@
#include "empty_special_list.h"
#include "yacreader_comics_views_manager.h"
#include "yacreader_sidebar.h"
#include "QsLog.h"
YACReaderNavigationController::YACReaderNavigationController(LibraryWindow *parent, YACReaderComicsViewsManager *comicsViewsManager) :
@ -47,10 +45,6 @@ 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);
}