Diffstat (limited to 'korganizer/datenavigatorcontainer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/datenavigatorcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp index 3358ecf..5cdaa83 100644 --- a/korganizer/datenavigatorcontainer.cpp +++ b/korganizer/datenavigatorcontainer.cpp | |||
@@ -160,7 +160,7 @@ void DateNavigatorContainer::resizeEvent( QResizeEvent * e ) | |||
160 | kdDebug(5850) << " SIZEHINT: " << sizeHint() << endl; | 160 | kdDebug(5850) << " SIZEHINT: " << sizeHint() << endl; |
161 | kdDebug(5850) << " MINIMUM SIZE: " << minimumSize() << endl; | 161 | kdDebug(5850) << " MINIMUM SIZE: " << minimumSize() << endl; |
162 | #endif | 162 | #endif |
163 | QSize minSize = mNavigatorView->yourSizeHint(); | 163 | QSize minSize = mNavigatorView->sizeHintTwoButtons(); |
164 | 164 | ||
165 | // kdDebug(5850) << " NAVIGATORVIEW minimumSizeHint: " << minSize << endl; | 165 | // kdDebug(5850) << " NAVIGATORVIEW minimumSizeHint: " << minSize << endl; |
166 | 166 | ||
@@ -179,7 +179,7 @@ void DateNavigatorContainer::resizeEvent( QResizeEvent * e ) | |||
179 | //mNavigatorView->resize( size() ); | 179 | //mNavigatorView->resize( size() ); |
180 | //if ( ! ok ) | 180 | //if ( ! ok ) |
181 | // return; | 181 | // return; |
182 | minSize = mNavigatorView->sizeHint(); | 182 | minSize = mNavigatorView->sizeHintTwoButtons(); |
183 | verticalCount = size().height() / minSize.height(); | 183 | verticalCount = size().height() / minSize.height(); |
184 | horizontalCount = size().width() / minSize.width(); | 184 | horizontalCount = size().width() / minSize.width(); |
185 | if ( horizontalCount == 0 ) | 185 | if ( horizontalCount == 0 ) |