[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.4/kdebase/konqueror
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2005-05-13 15:44:06
Message-ID: 1115999046.416432.29107.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 413195 by lunakl:
Backport, don't offer both 'kde.org' and 'http://kde.org/' in completion.
M +3 -0 branches/KDE/3.4/kdebase/konqueror/konq_mainwindow.cc
--- branches/KDE/3.4/kdebase/konqueror/konq_mainwindow.cc #413194:413195
@@ -5351,6 +5351,9 @@
if( str.find( '/', 7 ) < 0 ) { // http://something<noslash>
hp_removeDupe( l, str + '/', it );
hp_removeDupe( l, str.mid( 7 ) + '/', it );
+ } else if( str[ str.length() - 1 ] == '/' ) {
+ hp_removeDupe( l, str.left( str.length() - 1 ), it );
+ hp_removeDupe( l, str.left( str.length() - 1 ).mid( 7 ), it );
}
hp_removeDupe( l, str.mid( 7 ), it );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic