author | zautrix <zautrix> | 2005-02-08 14:48:55 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-08 14:48:55 (UTC) |
commit | 584ed7893497b2adad5ba6c3e914d90b76973b92 (patch) (unidiff) | |
tree | a25b2c10338c32dc0a6bbf11e6bebeb059ec7bd0 | |
parent | 41111b332c2a5f1b2ec152df309b9199f5e9c921 (diff) | |
download | kdepimpi-584ed7893497b2adad5ba6c3e914d90b76973b92.zip kdepimpi-584ed7893497b2adad5ba6c3e914d90b76973b92.tar.gz kdepimpi-584ed7893497b2adad5ba6c3e914d90b76973b92.tar.bz2 |
fix
-rw-r--r-- | korganizer/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 61c39f5..856f7db 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -2043,5 +2043,5 @@ void MainWindow::weekAction() | |||
2043 | if ( iconToolBar->orientation () == Qt:: Horizontal ) { | 2043 | if ( iconToolBar->orientation () == Qt:: Horizontal ) { |
2044 | if ( iconToolBar->y() > height()/2 ) { | 2044 | if ( iconToolBar->y() > height()/2 ) { |
2045 | dY = iconToolBar->height()+picker->sizeHint().height(); | 2045 | dY = picker->sizeHint().height()+8; |
2046 | y = 0; | 2046 | y = 0; |
2047 | } | 2047 | } |
@@ -2049,5 +2049,5 @@ void MainWindow::weekAction() | |||
2049 | if ( iconToolBar->x() > width()/2 ) { // right side | 2049 | if ( iconToolBar->x() > width()/2 ) { // right side |
2050 | x=0; | 2050 | x=0; |
2051 | dX= iconToolBar->width()+picker->sizeHint().width(); | 2051 | dX= picker->sizeHint().width()+8; |
2052 | y = 0; | 2052 | y = 0; |
2053 | } else { | 2053 | } else { |
@@ -2056,5 +2056,5 @@ void MainWindow::weekAction() | |||
2056 | } | 2056 | } |
2057 | } | 2057 | } |
2058 | qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() ); | 2058 | //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() ); |
2059 | if(popup->exec(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY)))) | 2059 | if(popup->exec(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY)))) |
2060 | { | 2060 | { |