diff options
author | Joakim Bygdell <j.bygdell@gmail.com> | 2014-06-28 09:18:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-28 08:21:07 -0700 |
commit | 48a3d1b79cd94b872e4aa974f0954d42c7c64d09 (patch) | |
tree | 796d1031597d9b50700daf3c2cbea024663fe80c /qt-ui | |
parent | a1c933da9fad358075a2f42f3055b82cf089c197 (diff) | |
download | subsurface-48a3d1b79cd94b872e4aa974f0954d42c7c64d09.tar.gz |
Make calendar stay on top
This patch makes tha calendar stay on top at all times.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/simplewidgets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index 643efd450..e87f324de 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -298,6 +298,7 @@ DateWidget::DateWidget(QWidget *parent) : QWidget(parent), setMinimumSize(QSize(64,64)); setFocusPolicy(Qt::StrongFocus); calendarWidget->setWindowFlags(Qt::FramelessWindowHint); + calendarWidget->setWindowFlags(Qt::WindowStaysOnTopHint); connect(calendarWidget, SIGNAL(activated(QDate)), calendarWidget, SLOT(hide())); connect(calendarWidget, SIGNAL(clicked(QDate)), calendarWidget, SLOT(hide())); |