Corrido el browser.

git-svn-id: https://opengnsys.es/svn/trunk@830 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
adelcastillo 2010-03-21 16:10:27 +00:00
parent 3648efed36
commit e443ace598
2 changed files with 4 additions and 4 deletions

View File

@ -191,7 +191,7 @@ void MainWindow::slotWebLoadFinished(bool ok)
// If any error ocurred, show a pop up
// Sometimes when the url hasn't got a dot, i.e /var/www/pageweb,
// the return value is always true so we check the bytes received too
if(ok == false || m_web->page()->totalBytes() == 0)
if(ok == false)
{
QMessageBox msgBox;
msgBox.setText(tr("The web page couldn't load. What do you want to do?"));

View File

@ -19,10 +19,10 @@ MOC_DIR = ../.moc
OBJECTS_DIR = ../.objs
TARGET = browser
LIBS += -L.. -lqtermwidget
LIBS += -L../qtermwidget -lqtermwidget
SOURCES = main.cpp core.cpp config.cpp browser.cpp adminbrowser.cpp logfile.cpp
SOURCES = main.cpp mainwindow.cpp
HEADERS = core.h config.h browser.h adminbrowser.h logfile.h
HEADERS = mainwindow.h
INCLUDEPATH = ../qtermwidget/src