mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
merged
This commit is contained in:
commit
3ef210f7e6
@ -12,6 +12,8 @@
|
|||||||
#include "empty_reading_list_widget.h"
|
#include "empty_reading_list_widget.h"
|
||||||
#include "no_search_results_widget.h"
|
#include "no_search_results_widget.h"
|
||||||
|
|
||||||
|
#include "yacreader_sidebar.h"
|
||||||
|
|
||||||
//--
|
//--
|
||||||
#include "yacreader_search_line_edit.h"
|
#include "yacreader_search_line_edit.h"
|
||||||
#include "options_dialog.h"
|
#include "options_dialog.h"
|
||||||
@ -71,6 +73,10 @@ QWidget * YACReaderComicsViewsManager::containerWidget()
|
|||||||
void YACReaderComicsViewsManager::showComicsView()
|
void YACReaderComicsViewsManager::showComicsView()
|
||||||
{
|
{
|
||||||
comicsViewStack->setCurrentWidget(comicsView);
|
comicsViewStack->setCurrentWidget(comicsView);
|
||||||
|
|
||||||
|
//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();
|
||||||
}
|
}
|
||||||
|
|
||||||
void YACReaderComicsViewsManager::showEmptyFolderView()
|
void YACReaderComicsViewsManager::showEmptyFolderView()
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
#include "empty_special_list.h"
|
#include "empty_special_list.h"
|
||||||
#include "yacreader_comics_views_manager.h"
|
#include "yacreader_comics_views_manager.h"
|
||||||
|
|
||||||
#include "yacreader_sidebar.h"
|
|
||||||
|
|
||||||
#include "QsLog.h"
|
#include "QsLog.h"
|
||||||
|
|
||||||
YACReaderNavigationController::YACReaderNavigationController(LibraryWindow *parent, YACReaderComicsViewsManager *comicsViewsManager) :
|
YACReaderNavigationController::YACReaderNavigationController(LibraryWindow *parent, YACReaderComicsViewsManager *comicsViewsManager) :
|
||||||
@ -47,10 +45,6 @@ void YACReaderNavigationController::selectedFolder(const QModelIndex &mi)
|
|||||||
|
|
||||||
loadFolderInfo(modelIndex);
|
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);
|
libraryWindow->setToolbarTitle(modelIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user