Commit 5ff6c267 authored by Dorian Zedler's avatar Dorian Zedler

added promotion image

parent ee9a39fb
......@@ -24,7 +24,7 @@ int main(int argc, char *argv[])
engine.rootContext()->setContextProperty("XscreenHeight", size.height());
engine.rootContext()->setContextProperty("XscreenWidth", size.width());
if(argc > 0 && QString(argv[0]) == "-noControls")
if(argc > 1 && QString(argv[1]) == "--noControls")
engine.rootContext()->setContextProperty("showControls", false);
else
engine.rootContext()->setContextProperty("showControls", true);
......
......@@ -72,6 +72,23 @@ Window {
anchors.fill: parent
Image {
id: bannerImg
anchors {
top: parent.top
left: parent.left
right: parent.right
margins: app.landscape() ? app.height * 0.01:app.width * 0.1
}
visible: showControls
fillMode: Image.PreserveAspectFit
source: "qrc:/Banner.png"
}
Column {
id: timerCol
......
......@@ -5,5 +5,6 @@
<file>fonts/Arvo-Regular.ttf</file>
<file>fonts/Arvo-RegularItalic.ttf</file>
<file>fonts/PTMono-Regular.ttf</file>
<file>Banner.png</file>
</qresource>
</RCC>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment