summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorSimon Rettberg2020-05-07 15:52:09 +0200
committerSimon Rettberg2020-05-07 15:52:09 +0200
commit589b0d4bc81232768b54c8c11bd0a44a72352d7d (patch)
tree6d57d2ad399cfcf6afe4e0050dd65d2bb1793eaa /src/mainwindow.h
parentReact to changed screen setup, update layout (diff)
downloadslxgreeter-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.h2
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;