Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit a93b22b370571a8bd674911ee11eeb3e5fe56873 1 parent 618a394
agentzh authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 mainwindow.cpp
View
6 mainwindow.cpp
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.