[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenox/konq-embed/src
From:       Luciano Montanaro <mikelima () virgilio ! it>
Date:       2004-05-10 16:20:25
Message-ID: 20040510162025.2EDDF2158 () office ! kde ! org
[Download RAW message or body]

CVS commit by montanaro: 

Change obsolete isMalformed() occurrences with appropriate isValid() calls.


  M +2 -2      mainwindowbase.cc   1.96


--- kdenox/konq-embed/src/mainwindowbase.cc  #1.95:1.96
@@ -358,5 +358,5 @@ void MainWindowBase::urlEntered( const Q
     KURL u = text;
 
-    if ( u.isMalformed() )
+    if ( !u.isValid() )
     {
         if ( QRegExp( "^www" ).search( text ) == 0 )
@@ -368,5 +368,5 @@ void MainWindowBase::urlEntered( const Q
     }
 
-    if ( !u.isMalformed() )
+    if ( u.isValid() )
     {
         assert( m_currentView );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic