summaryrefslogtreecommitdiffstats
path: root/src/JSObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JSObject.cpp')
-rw-r--r--src/JSObject.cpp7
1 files changed, 3 insertions, 4 deletions
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")){