author | zautrix <zautrix> | 2005-06-30 05:09:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-30 05:09:00 (UTC) |
commit | 4e850fa7aa99f92676e49466cfccaa5d5e0ec24c (patch) (unidiff) | |
tree | 5f0149a356274f475268df69a09a1a63345e9b22 | |
parent | ba4a6a95356f9a8044257c45347cee8b15667d0c (diff) | |
download | kdepimpi-4e850fa7aa99f92676e49466cfccaa5d5e0ec24c.zip kdepimpi-4e850fa7aa99f92676e49466cfccaa5d5e0ec24c.tar.gz kdepimpi-4e850fa7aa99f92676e49466cfccaa5d5e0ec24c.tar.bz2 |
fix
-rw-r--r-- | microkde/kdeui/klistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/kdeui/klistview.cpp b/microkde/kdeui/klistview.cpp index f7d2187..60f3084 100644 --- a/microkde/kdeui/klistview.cpp +++ b/microkde/kdeui/klistview.cpp | |||
@@ -467,33 +467,33 @@ KListView::KListView( QWidget *parent, const char *name ,bool emulateRightMouse | |||
467 | KListView::~KListView() | 467 | KListView::~KListView() |
468 | { | 468 | { |
469 | delete d; | 469 | delete d; |
470 | } | 470 | } |
471 | 471 | ||
472 | bool KListView::isExecuteArea( const QPoint& point ) | 472 | bool KListView::isExecuteArea( const QPoint& point ) |
473 | { | 473 | { |
474 | if ( itemAt( point ) ) | 474 | if ( itemAt( point ) ) |
475 | return isExecuteArea( point.x() ); | 475 | return isExecuteArea( point.x() ); |
476 | 476 | ||
477 | return false; | 477 | return false; |
478 | } | 478 | } |
479 | QSize KListView::sizeHint() const | 479 | QSize KListView::sizeHint() const |
480 | { | 480 | { |
481 | //qDebug("KListView::QSize sizeHint() "); | 481 | //qDebug("KListView::QSize sizeHint() "); |
482 | #ifdef DESKTOP_VERSION | 482 | #ifdef DESKTOP_VERSION |
483 | QListView::sizeHint(); | 483 | return QListView::sizeHint(); |
484 | #else | 484 | #else |
485 | return QSize ( 40, 40 ); | 485 | return QSize ( 40, 40 ); |
486 | #endif | 486 | #endif |
487 | 487 | ||
488 | } | 488 | } |
489 | bool KListView::isExecuteArea( int x ) | 489 | bool KListView::isExecuteArea( int x ) |
490 | { | 490 | { |
491 | if( allColumnsShowFocus() ) | 491 | if( allColumnsShowFocus() ) |
492 | return true; | 492 | return true; |
493 | else { | 493 | else { |
494 | int offset = 0; | 494 | int offset = 0; |
495 | int width = columnWidth( 0 ); | 495 | int width = columnWidth( 0 ); |
496 | int pos = header()->mapToIndex( 0 ); | 496 | int pos = header()->mapToIndex( 0 ); |
497 | 497 | ||
498 | for ( int index = 0; index < pos; index++ ) | 498 | for ( int index = 0; index < pos; index++ ) |
499 | offset += columnWidth( header()->mapToSection( index ) ); | 499 | offset += columnWidth( header()->mapToSection( index ) ); |