diff options
author | Simon Rettberg | 2020-05-07 15:52:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-05-07 15:52:09 +0200 |
commit | 589b0d4bc81232768b54c8c11bd0a44a72352d7d (patch) | |
tree | 6d57d2ad399cfcf6afe4e0050dd65d2bb1793eaa /src/mainwindow.h | |
parent | React to changed screen setup, update layout (diff) | |
download | slxgreeter-589b0d4bc81232768b54c8c11bd0a44a72352d7d.tar.gz slxgreeter-589b0d4bc81232768b54c8c11bd0a44a72352d7d.tar.xz slxgreeter-589b0d4bc81232768b54c8c11bd0a44a72352d7d.zip |
Reintroduce X background generation
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index fc0249b..f6b1072 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -40,6 +40,8 @@ public: LoginForm* stealLoginForm() { LoginForm *p = m_LoginForm; m_LoginForm = nullptr; return p; } + const QImage& background() { return m_background; } + protected: virtual void paintEvent(QPaintEvent *event) override; |