-rw-r--r-- | korganizer/navigatorbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/navigatorbar.cpp b/korganizer/navigatorbar.cpp index 1b4ee52..06f5ef8 100644 --- a/korganizer/navigatorbar.cpp +++ b/korganizer/navigatorbar.cpp @@ -175,9 +175,9 @@ QSize NavigatorBar::sizeHint() const //qDebug("ret %d %d ", wid, mCurrentHei); return QSize ( wid, mCurrentHei ); } -QSize NavigatorBar::sizeHintTwoButtons() const +QSize NavigatorBar::sizeHintTwoButtons( int butNum ) const { - return QSize ( mCurrentMinWid + 2 * mCurrentButtonMinWid , mCurrentHei ); + return QSize ( mCurrentMinWid + butNum * mCurrentButtonMinWid , mCurrentHei ); } void NavigatorBar::resetFont ( QFont fo ) { |