author | zautrix <zautrix> | 2005-03-24 11:39:34 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-24 11:39:34 (UTC) |
commit | a9e8535fd6960f454ab7009cfa996973291502a2 (patch) (unidiff) | |
tree | bcef1497b415a0b1a667c896f1fe7a4d4a764425 /korganizer/kdatenavigator.cpp | |
parent | b9e83e4536ee4fc34b882fb88b8e5fd00bfdf929 (diff) | |
download | kdepimpi-a9e8535fd6960f454ab7009cfa996973291502a2.zip kdepimpi-a9e8535fd6960f454ab7009cfa996973291502a2.tar.gz kdepimpi-a9e8535fd6960f454ab7009cfa996973291502a2.tar.bz2 |
layout fix
Diffstat (limited to 'korganizer/kdatenavigator.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kdatenavigator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp index 1474e4b..d62402f 100644 --- a/korganizer/kdatenavigator.cpp +++ b/korganizer/kdatenavigator.cpp | |||
@@ -70,9 +70,9 @@ KDateNavigator::KDateNavigator( QWidget *parent, const char *name ) | |||
70 | connect( mNavigatorBar, SIGNAL( goPrevMonth() ), SIGNAL( goPrevMonth() ) ); | 70 | connect( mNavigatorBar, SIGNAL( goPrevMonth() ), SIGNAL( goPrevMonth() ) ); |
71 | connect( mNavigatorBar, SIGNAL( goNextMonth() ), SIGNAL( goNextMonth() ) ); | 71 | connect( mNavigatorBar, SIGNAL( goNextMonth() ), SIGNAL( goNextMonth() ) ); |
72 | connect( mNavigatorBar, SIGNAL( goNextYear() ), SIGNAL( goNextYear() ) ); | 72 | connect( mNavigatorBar, SIGNAL( goNextYear() ), SIGNAL( goNextYear() ) ); |
73 | connect( mNavigatorBar, SIGNAL( monthSelected( int ) ), SLOT( slotMonthSelected( int ) ) ); | 73 | connect( mNavigatorBar, SIGNAL( monthSelected( int ) ), SLOT( slotMonthSelected( int ) ) ); |
74 | 74 | ||
75 | // get the day of the week on the first day | 75 | // get the day of the week on the first day |
76 | QDate dayone(m_MthYr.year(), m_MthYr.month(), 1); | 76 | QDate dayone(m_MthYr.year(), m_MthYr.month(), 1); |
77 | m_fstDayOfWk = dayone.dayOfWeek(); | 77 | m_fstDayOfWk = dayone.dayOfWeek(); |
78 | 78 | ||
@@ -118,8 +118,9 @@ KDateNavigator::KDateNavigator( QWidget *parent, const char *name ) | |||
118 | enableRollover(FollowMonth); | 118 | enableRollover(FollowMonth); |
119 | mySizeHint = sizeHintTwoButtons(); | 119 | mySizeHint = sizeHintTwoButtons(); |
120 | myFullSizeHint = sizeHintTwoButtons( 4 ); | 120 | myFullSizeHint = sizeHintTwoButtons( 4 ); |
121 | mFontChanged = false; | 121 | mFontChanged = false; |
122 | resize ( mySizeHint ); | ||
122 | } | 123 | } |
123 | void KDateNavigator::changeFont ( QFont fo ) | 124 | void KDateNavigator::changeFont ( QFont fo ) |
124 | { | 125 | { |
125 | setFont( fo ); | 126 | setFont( fo ); |