diff options
author | Simon Rettberg | 2019-05-16 10:56:29 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-05-16 10:56:29 +0200 |
commit | a1c0babd719d779cd6b814f7cfc41ead875ff52d (patch) | |
tree | 42c13f125efff8e802ac983d2a5ff434d99bc800 /src/mainwindow.cpp | |
parent | support for guest session (diff) | |
download | slxgreeter-a1c0babd719d779cd6b814f7cfc41ead875ff52d.tar.gz slxgreeter-a1c0babd719d779cd6b814f7cfc41ead875ff52d.tar.xz slxgreeter-a1c0babd719d779cd6b814f7cfc41ead875ff52d.zip |
Improve rendering even more
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a9ff11e..9c23c58 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -124,6 +124,8 @@ void MainWindow::mouseDoubleClickEvent(QMouseEvent *) { if (m_Snake == nullptr) { m_Snake = new Snake(this); + } else { + m_Snake->addSnake(); } } |