From kde-commits Mon May 10 16:20:25 2004 From: Luciano Montanaro Date: Mon, 10 May 2004 16:20:25 +0000 To: kde-commits Subject: kdenox/konq-embed/src Message-Id: <20040510162025.2EDDF2158 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=108420613110485 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 );