mirror of
https://github.com/YACReader/yacreader
synced 2025-07-20 14:04:40 -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
@ -11,6 +11,8 @@
|
||||
|
||||
#include "yacreader_navigation_controller.h"
|
||||
|
||||
#include "theme.h"
|
||||
|
||||
#include <future>
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
@ -61,7 +63,6 @@ class ComicVineDialog;
|
||||
class ComicsView;
|
||||
class ClassicComicsView;
|
||||
class GridComicsView;
|
||||
class ComicsViewTransition;
|
||||
class EmptyFolderWidget;
|
||||
class NoSearchResultsWidget;
|
||||
class EditShortcutsDialog;
|
||||
@ -398,6 +399,7 @@ private:
|
||||
QSize previousSize;
|
||||
std::future<void> upgradeLibraryFuture;
|
||||
|
||||
Theme theme = Theme::currentTheme();
|
||||
TrayIconController *trayIconController;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user