[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/konqueror
From: Dawit Alemayehu <adawit () kde ! org>
Date: 2003-12-24 14:00:22
[Download RAW message or body]
CVS commit by adawit:
- Fix for BR# 47512: "Malformed URL" error when splitting an empty view (normal).
Reviewed by David.
CCMAIL:47512-done@bugs.kde.org
M +11 -3 konq_viewmgr.cc 1.254
--- kdebase/konqueror/konq_viewmgr.cc #1.253:1.254
@@ -1455,7 +1455,15 @@ void KonqViewManager::loadItem( KConfig
if ( openURL )
{
- KURL url( defaultURL );
- if ( cfg.hasKey( key ) ) // if it has it, we load it, even if empty
- url = KURL( cfg.readPathEntry( key ) );
+ KURL url;
+
+ if ( cfg.hasKey( key ) )
+ {
+ QString u = cfg.readPathEntry( key );
+ if ( u.isEmpty() )
+ u = QString::fromLatin1("about:blank");
+ url = u;
+ }
+ else
+ url = defaultURL;
if ( !url.isEmpty() )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic