mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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>
This commit is contained in:
parent
a1c933da9f
commit
48a3d1b79c
1 changed files with 1 additions and 0 deletions
|
@ -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()));
|
||||
|
|
Loading…
Reference in a new issue