diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-28 08:41:10 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-28 08:41:10 -0700 |
commit | 3179e0f7220c2f792c139d5aa33fdd58b0d19b38 (patch) | |
tree | 23a5a2c75bf8df14a14c2cf90a50b4b19e95a36b /qt-ui | |
parent | 0ea86d83c14dde31b36eb6d3ad3a8dcf10706e22 (diff) | |
download | subsurface-3179e0f7220c2f792c139d5aa33fdd58b0d19b38.tar.gz |
Calendar Widget: get rid of week number
It puzzles me that this is the default.
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 e14e61552..9fe176c86 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -300,6 +300,7 @@ DateWidget::DateWidget(QWidget *parent) : QWidget(parent), calendarWidget->setWindowFlags(Qt::FramelessWindowHint); calendarWidget->setWindowFlags(Qt::WindowStaysOnTopHint); calendarWidget->setFirstDayOfWeek(getLocale().firstDayOfWeek()); + calendarWidget->setVerticalHeaderFormat(QCalendarWidget::NoVerticalHeader); connect(calendarWidget, SIGNAL(activated(QDate)), calendarWidget, SLOT(hide())); connect(calendarWidget, SIGNAL(clicked(QDate)), calendarWidget, SLOT(hide())); |