summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-07 10:44:03 +0200
committerSimon Rettberg2020-08-07 10:44:03 +0200
commitb4510f200ab331432cf4f43ace0239aa0ada24b0 (patch)
treea45336fb737f10cf215fc5ebc07005b8ced18f28 /src/mainwindow.h
parentMore agressive delay and retry after screen layout changed (diff)
downloadslxgreeter-b4510f200ab331432cf4f43ace0239aa0ada24b0.tar.gz
slxgreeter-b4510f200ab331432cf4f43ace0239aa0ada24b0.tar.xz
slxgreeter-b4510f200ab331432cf4f43ace0239aa0ada24b0.zip
Make MainWindow reusing code smarter wrt LoginForm
Previously, we might have ended up with no LoginForm after some screen setup change events.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index f6b1072..e1a8011 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -38,8 +38,6 @@ public:
bool showLoginForm();
- LoginForm* stealLoginForm() { LoginForm *p = m_LoginForm; m_LoginForm = nullptr; return p; }
-
const QImage& background() { return m_background; }
protected: