mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
Keep the current theme in LibraryWindow and pass it when needed.
This commit is contained in:
committed by
Luis Ángel San Martín
parent
7f30709920
commit
0eebc9af92
@ -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
|
||||
|
Reference in New Issue
Block a user