Keep the current theme in LibraryWindow and pass it when needed.

This commit is contained in:
Luis Ángel San Martín
2018-09-07 12:50:48 +02:00
committed by Luis Ángel San Martín
parent 7f30709920
commit 0eebc9af92
2 changed files with 6 additions and 2 deletions

View File

@ -83,6 +83,8 @@
#include "trayicon_controller.h"
#include "theme.h"
#include "QsLog.h"
#ifdef Q_OS_WIN
@ -235,7 +237,7 @@ void LibraryWindow::doLayout()
//FINAL LAYOUT-------------------------------------------------------------
comicsViewsManager = new YACReaderComicsViewsManager(settings, this);
comicsViewsManager = new YACReaderComicsViewsManager(settings, Theme::currentTheme(), this);
sHorizontal->addWidget(sideBar);
#ifndef Q_OS_MAC