summaryrefslogtreecommitdiffstats
path: root/client/browser
diff options
context:
space:
mode:
authoradelcastillo <adelcastillo@us.es>2010-03-21 16:10:27 +0000
committeradelcastillo <adelcastillo@us.es>2010-03-21 16:10:27 +0000
commit2987844eef582b8a8e68404ce460517c8f1d21c1 (patch)
tree8b6495da6dae9b6ab66e536a7f0af4e6312da5a4 /client/browser
parenteaa6e7dd14ae9d240b7041c40733f9f5dafc1ad2 (diff)
Corrido el browser.
git-svn-id: https://opengnsys.es/svn/trunk@830 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/browser')
-rw-r--r--client/browser/src/mainwindow.cpp2
-rw-r--r--client/browser/src/src.pro6
2 files changed, 4 insertions, 4 deletions
diff --git a/client/browser/src/mainwindow.cpp b/client/browser/src/mainwindow.cpp
index 7523f48b..d273ce0e 100644
--- a/client/browser/src/mainwindow.cpp
+++ b/client/browser/src/mainwindow.cpp
@@ -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?"));
diff --git a/client/browser/src/src.pro b/client/browser/src/src.pro
index 872180fa..b079ee1f 100644
--- a/client/browser/src/src.pro
+++ b/client/browser/src/src.pro
@@ -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