mirror of
https://github.com/YACReader/yacreader
synced 2026-03-02 02:43:04 -05:00
Make Themable pass the current Theme through applyTheme
This reduces boilerplate code and remove the ThemeManager dependency at Thamable subclasses level.
This commit is contained in:
@ -188,7 +188,7 @@ private:
|
||||
std::unique_ptr<YACReader::MouseHandler> mouseHandler;
|
||||
|
||||
protected:
|
||||
void applyTheme() override;
|
||||
void applyTheme(const Theme &theme) override;
|
||||
|
||||
public:
|
||||
Viewer(QWidget *parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user