From 2145855feffdaefbf71f8513fef7c220d66f501f Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 8 Mar 2011 02:46:18 +0100 Subject: compiling.. --- src/JSObject.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/JSObject.cpp') diff --git a/src/JSObject.cpp b/src/JSObject.cpp index 708e825..11f91c6 100644 --- a/src/JSObject.cpp +++ b/src/JSObject.cpp @@ -4,11 +4,10 @@ * Created on: Feb 1, 2011 * Author: niklas */ - +#include "fbgui.h" #include "JSObject.h" #include "sysInfo.h" -extern bool debug; //------------------------------------------------------------------------------------------------------- JSObject::JSObject(QWebFrame *parent) { @@ -19,9 +18,9 @@ JSObject::JSObject(QWebFrame *parent) { JSObject::~JSObject() {} //------------------------------------------------------------------------------------------------------- /* TEST */ -QString JSObject::getInfo(QString info) +QString JSObject::getSysInfo(QString info) { - static sysInfo si; + sysInfo si; if (debug) qDebug() << "Requested info: " << info; if (debug) qDebug() << "sysInfo output: " << si.getInfo(info); if (info == QString("time")){ -- cgit v1.2.3-55-g7522