summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-28 08:41:10 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-28 08:41:10 -0700
commit3179e0f7220c2f792c139d5aa33fdd58b0d19b38 (patch)
tree23a5a2c75bf8df14a14c2cf90a50b4b19e95a36b /qt-ui
parent0ea86d83c14dde31b36eb6d3ad3a8dcf10706e22 (diff)
downloadsubsurface-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.cpp1
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()));