summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/simplewidgets.cpp1
-rw-r--r--qt-ui/simplewidgets.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index 04b6d1f07..32175d218 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -302,6 +302,7 @@ bool isGnome3Session()
DateWidget::DateWidget(QWidget *parent) : QWidget(parent)
{
setDate(QDate::currentDate());
+ setMinimumSize(QSize(64,64));
}
void DateWidget::setDate(const QDate& date)
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index eea3fca30..ba8a23360 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -94,7 +94,6 @@ public:
DateWidget(QWidget *parent = 0);
void setDate(const QDate& date);
QDate date() const;
-
protected:
void paintEvent(QPaintEvent *event);