summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
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();
- }
}
}
//-------------------------------------------------------------------------------------------