Commit 414be976 authored by Nicolas Fella's avatar Nicolas Fella

Remove banner image from drawer

At the consistency sprint we established that we want to move away from banner images in the sidebar.
Discover is one of very few apps that actually uses them so it's inconsistent with our other Kirigami apps.
It is only shown on mobile anyway.
parent c7fada5c
......@@ -23,7 +23,6 @@ add_executable(plasma-discover ${plasma_discover_SRCS}
ReadFile.cpp
resources.qrc
assets.qrc
)
add_executable(Plasma::Discover ALIAS plasma-discover)
set_target_properties(plasma-discover PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/plasma-discover)
......
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource>
<file>banners/banner.svg</file>
</qresource>
</RCC>
......@@ -35,7 +35,6 @@ DiscoverTest
var categoryName = "dummy 3";
firstitem.clicked()
drawer.bannerClicked()
compare(appRoot.stack.currentItem.title, "Featured", "same title");
compare(drawer.currentSubMenu, null)
}
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="568.38232"
height="319.71497"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="banner.svg">
<metadata
id="metadata62">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1056"
id="namedview60"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="2.303125"
inkscape:cx="353.71171"
inkscape:cy="159.71495"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g36" />
<defs
id="defs4">
<linearGradient
id="a"
y1="543.79999"
y2="513.79999"
x2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.125,0,0,1,-51.07,0)">
<stop
stop-color="#197cf1"
id="stop7" />
<stop
offset="1"
stop-color="#20bcfa"
id="stop9" />
</linearGradient>
<linearGradient
xlink:href="#a"
id="b"
y1="44"
y2="11"
x2="0"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="c"
y1="10"
y2="14"
x2="0"
gradientUnits="userSpaceOnUse">
<stop
stop-color="#1d1e1e"
id="stop13" />
<stop
offset="1"
stop-color="#44484c"
id="stop15" />
</linearGradient>
<linearGradient
xlink:href="#a"
id="d"
y1="14"
y2="10"
gradientUnits="userSpaceOnUse"
x2="0" />
<linearGradient
xlink:href="#a"
id="e"
y1="516.79999"
y2="503.79999"
x2="0"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="f"
y1="18"
y2="15"
x2="0"
gradientUnits="userSpaceOnUse">
<stop
stop-color="#c6cdd1"
id="stop20" />
<stop
offset="1"
stop-color="#e0e5e7"
id="stop22" />
</linearGradient>
<linearGradient
xlink:href="#f"
id="g"
y1="517.79999"
y2="514.79999"
x2="0"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="h"
y1="19"
y2="3"
x2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(10.636572,0,0,10.657165,576.23119,468.62749)">
<stop
stop-color="#7cbaf8"
id="stop26" />
<stop
offset="1"
stop-color="#f4fcff"
id="stop28" />
</linearGradient>
<linearGradient
id="i"
y1="23"
x1="16"
y2="39"
x2="32"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(10.636572,0,0,10.657165,437.95574,276.79852)">
<stop
stop-color="#292c2f"
id="stop31" />
<stop
offset="1"
stop-opacity="0"
id="stop33" />
</linearGradient>
<path
id="j"
d="m 10,10 -1,1 1,1 -4,2 36,0 -4,-2 1,-1 -1,-1 -14,0 z"
inkscape:connector-curvature="0"
style="fill-rule:evenodd" />
<linearGradient
inkscape:collect="always"
xlink:href="#a"
id="linearGradient4190"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(17.761948,0,0,10.657165,-6582.2182,-5021.8516)"
y1="543.79999"
x2="0"
y2="513.79999" />
</defs>
<g
transform="translate(-390.57001,-453.79999)"
id="g36">
<rect
width="568.38232"
x="390.57001"
y="453.79999"
rx="0"
height="319.71497"
id="rect40"
style="fill:url(#linearGradient4190)" />
<path
d="m 658.20727,525.03585 -15.04015,15.06925 85.0926,85.25734 -3.11651,3.12252 117.00229,117.22882 42.54628,0 0,-63.94298 -106.36572,-106.57166 -35.02623,35.09403 z m -22.8261,65.49893 -22.56016,22.60389 58.50115,58.6144 -14.40193,14.4298 59.4159,59.53091 73.93481,0 z"
id="path42"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:url(#i)" />
<path
d="m 650.68718,521.9133 c -5.89264,0 -10.63657,4.7531 -10.63657,10.65717 0,5.90407 4.74393,10.65716 10.63657,10.65716 5.89267,0 10.63659,-4.75309 10.63659,-10.65716 0,-5.90407 -4.74392,-10.65717 -10.63659,-10.65717 m 74.45603,0 -21.27313,21.31433 31.9097,31.97151 -31.9097,31.97147 21.27313,21.31435 53.18285,-53.28582 z m -101.04744,63.94302 c -8.83899,0 -15.95486,7.12961 -15.95486,15.98571 0,8.85612 7.11587,15.98576 15.95486,15.98576 8.83897,0 15.95484,-7.12964 15.95484,-15.98576 0,-8.8561 -7.11587,-15.98571 -15.95484,-15.98571 m 47.86457,63.94298 c -11.78533,0 -21.27316,9.50619 -21.27316,21.31432 0,11.80812 9.48783,21.31435 21.27316,21.31435 11.78531,0 21.27313,-9.50623 21.27313,-21.31435 0,-11.80813 -9.48782,-21.31432 -21.27313,-21.31432"
id="path58"
inkscape:connector-curvature="0"
style="fill:url(#h)" />
</g>
</svg>
......@@ -24,7 +24,6 @@ Kirigami.GlobalDrawer {
width: Kirigami.Units.gridUnit * 14
property bool wideScreen: false
bannerImageSource: "qrc:/banners/banner.svg"
resetMenuOnTriggered: false
......
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