From d201c32d275c43583155ce843aa737ac57321671 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 02:23:49 +0000 Subject: * Allow Konqueror to compile with new libs-provided networkstatusindicator * KDM fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1172005 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdm/kfrontend/themer/kdmitem.cpp | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'kdm/kfrontend/themer/kdmitem.cpp') diff --git a/kdm/kfrontend/themer/kdmitem.cpp b/kdm/kfrontend/themer/kdmitem.cpp index d47c0242d..e8be05923 100644 --- a/kdm/kfrontend/themer/kdmitem.cpp +++ b/kdm/kfrontend/themer/kdmitem.cpp @@ -283,13 +283,17 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) return; if (myWidget || (myLayoutItem && myLayoutItem->widget())) { - // KListView because it's missing a Q_OBJECT - if ( myWidget && myWidget->isA( "KListView" ) ) { - TQPixmap copy( myWidget->size() ); - kdDebug() << myWidget->geometry() << " " << area << " " << myWidget->size() << endl; - bitBlt( ©, TQPoint( 0, 0), p->device(), myWidget->geometry(), Qt::CopyROP ); - myWidget->setPaletteBackgroundPixmap( copy ); - } + // KListView because it's missing a Q_OBJECT' + // FIXME: This is a nice idea intheory, but in practice it is + // very confusing for the user not to see then empty list box + // delineated from the rest of the greeter. + // Maybe set a darker version of the background instead of an exact copy? +// if ( myWidget && myWidget->isA( "KListView" ) ) { +// TQPixmap copy( myWidget->size() ); +// kdDebug() << myWidget->geometry() << " " << area << " " << myWidget->size() << endl; +// bitBlt( ©, TQPoint( 0, 0), p->device(), myWidget->geometry(), Qt::CopyROP ); +// myWidget->setPaletteBackgroundPixmap( copy ); +// } return; } -- cgit v1.2.1