[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/konqueror
From: Stephan Binner <binner () kde ! org>
Date: 2005-02-01 22:19:05
Message-ID: 20050201221905.214971BBE7 () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
Try harder to find a match
M +9 -1 konq_combo.cc 1.53
--- kdebase/konqueror/konq_combo.cc #1.52:1.53
@@ -673,6 +673,14 @@ void KonqComboListBoxPixmap::paint( QPai
{
if ( lookup_pending ) {
- pm = KonqPixmapProvider::self()->pixmapFor( text(), KIcon::SizeSmall );
title = titleOfURL( text() );
+ if ( !title.isEmpty() )
+ pm = KonqPixmapProvider::self()->pixmapFor( text(), KIcon::SizeSmall );
+ else if ( text().find( "://" ) == -1 ) {
+ title = titleOfURL( "http://"+text() );
+ if ( !title.isEmpty() )
+ pm = KonqPixmapProvider::self()->pixmapFor( "http://"+text(), KIcon::SizeSmall );
+ else
+ pm = KonqPixmapProvider::self()->pixmapFor( text(), KIcon::SizeSmall );
+ }
lookup_pending = false;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic