summaryrefslogtreecommitdiffstats
path: root/src
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
parentfixes... (diff)
downloadfbgui-3763ff236d29ac59d9e2e6f1d64bb12233315d97.tar.gz
fbgui-3763ff236d29ac59d9e2e6f1d64bb12233315d97.tar.xz
fbgui-3763ff236d29ac59d9e2e6f1d64bb12233315d97.zip
bye bye background & removed old test code
Diffstat (limited to 'src')
-rw-r--r--src/fbgui.cpp10
-rw-r--r--src/html/preload.css2
2 files changed, 3 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();
- }
}
}
//-------------------------------------------------------------------------------------------
diff --git a/src/html/preload.css b/src/html/preload.css
index c758289..e1eff68 100644
--- a/src/html/preload.css
+++ b/src/html/preload.css
@@ -5,8 +5,10 @@ body{
margin:0;
padding:0;
background-color:black;
+ /*
background-image:url('background.png');
background-repeat:no-repeat;
+ */
background-size:100%;
}
#top{