Permalink
Browse files

no longer msgbox "Failed to open resource XXX" but only show it in th…

…e status bar

git-svn-id: http://svn1.bj.corp.yahoo.com/repos/WebEng/lifesearch/vdom-webkit/VdomBrowser@61387 82b2e94c-9313-0410-8ced-81db5252d7f6
  • Loading branch information...
agentzh
agentzh committed Jul 8, 2009
1 parent 618a394 commit a93b22b370571a8bd674911ee11eeb3e5fe56873
Showing with 3 additions and 3 deletions.
  1. +3 −3 mainwindow.cpp
View
@@ -78,9 +78,9 @@ void MainWindow::changeLocation() {
void MainWindow::loadFinished(bool done) {
if (!done) {
- QMessageBox::warning(this, tr("Browser Loader"),
- QString("Failed to open resource %1.").arg(m_urlEdit->text().trimmed()),
- QMessageBox::NoButton);
+ statusBar()->showMessage(
+ QString("Failed to open resource %1.")
+ .arg(m_urlEdit->text().trimmed()));
return;
}
//qDebug() << "Loaded URL " << m_view->url().toEncoded() << "." << endl;

0 comments on commit a93b22b

Please sign in to comment.