summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-04-26 17:57:25 +0200
committerJonathan Bauer2011-04-26 17:57:25 +0200
commit3763ff236d29ac59d9e2e6f1d64bb12233315d97 (patch)
tree03df9a3dab44d63785166b836a757681b5e58117 /src/fbgui.cpp
parentfixes... (diff)
downloadfbgui-3763ff236d29ac59d9e2e6f1d64bb12233315d97.tar.gz
fbgui-3763ff236d29ac59d9e2e6f1d64bb12233315d97.tar.xz
fbgui-3763ff236d29ac59d9e2e6f1d64bb12233315d97.zip
bye bye background & removed old test code
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index 1039ad6..1f1a1b5 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -231,17 +231,9 @@ void fbgui::loadURLDone(bool success) {
if (!success) {
qxtLog->debug() << "[gui] Loading failed. URL: "
<< _webView->url().toString();
- qxtLog->debug() << "[gui] Exiting in 5 seconds...";
- QTimer::singleShot(5000, this, SLOT(close()));
+ // TODO handle failure properly...
} else {
qxtLog->debug() << "[gui] Loaded URL: " << _webView->url().toString();
- // if loadsystem, start prepareKexec()
- if (_webView->url() == QUrl("qrc:/html/loadystem.html")) {
- qxtLog->debug() << "aosidhailshlashgajglkahgäolh";
- qxtLog->debug() << "aosidhailshlashgajglkahgäolh";
- qxtLog->debug() << "aosidhailshlashgajglkahgäolh";
- prepareKexec();
- }
}
}
//-------------------------------------------------------------------------------------------