Two TODOs left from the msg freeze time :

- display Loading Complete when, well, the loading is complete
- error msg box "unsupported protocol" in openURL, but it seems we never
get there, we get a realnames query for htp:/blah.org. Not sure it's a good thing :)

svn path=/trunk/kdebase/konqueror/; revision=68557
This commit is contained in:
David Faure 2000-10-22 13:17:06 +00:00
parent 9174530875
commit c84f451400
2 changed files with 3 additions and 3 deletions

View file

@ -349,8 +349,7 @@ void KonqMainWindow::openURL( KonqView *_view, const KURL &url,
}
if ( !KProtocolInfo::isKnownProtocol( url.protocol() ) )
{
// after message freeze QString tmp = i_18_n("Protocol not supported\n%1").arg(url.protocol());
KMessageBox::error(0, i18n("Malformed URL\n%1").arg(url.url()));
KMessageBox::error(0, i18n("Protocol not supported\n%1").arg(url.protocol()));
return;
}

View file

@ -32,6 +32,7 @@
#include <assert.h>
#include <kdebug.h>
#include <klocale.h>
#include <qapplication.h>
#include <qmetaobject.h>
@ -337,7 +338,7 @@ void KonqView::slotCompleted()
kdDebug(1202) << "KonqView::slotCompleted" << endl;
m_bLoading = false;
m_pKonqFrame->statusbar()->slotLoadingProgress( -1 );
m_pKonqFrame->statusbar()->slotDisplayStatusText( QString::null ); // TODO i18n("Loading complete") instead
m_pKonqFrame->statusbar()->slotDisplayStatusText( i18n("Loading complete") );
// Success... update history entry (mostly for location bar URL)
updateHistoryEntry(true);