mirror of
https://github.com/YACReader/yacreader
synced 2025-07-22 23:15:14 -04:00
Fix full screen button show/hide depending on the theme.
This commit is contained in:
committed by
Luis Ángel San Martín
parent
e7922a0e51
commit
61ac25bb7b
@ -14,7 +14,7 @@ class YACReaderMainToolBar : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit YACReaderMainToolBar(QWidget *parent = nullptr);
|
||||
explicit YACReaderMainToolBar(bool enableFullscreen, QWidget *parent = nullptr);
|
||||
QSize sizeHint() const override;
|
||||
|
||||
QToolButton *backButton;
|
||||
@ -35,6 +35,8 @@ private:
|
||||
void paintEvent(QPaintEvent *) override;
|
||||
void resizeEvent(QResizeEvent *) override;
|
||||
|
||||
bool enableFullscreen;
|
||||
|
||||
QHBoxLayout *mainLayout;
|
||||
|
||||
QLabel *currentFolder;
|
||||
|
Reference in New Issue
Block a user