Commit 75d5925b authored by Torsten Rahn's avatar Torsten Rahn Committed by Friedrich W. H. Kossebau
Browse files

Set the QQuickPaintedItem opaque and don't render the application

background twice ...
parent 3b547835
......@@ -25,17 +25,13 @@ ApplicationWindow {
width: 600
height: 400
color: palette.window
SystemPalette{
id: palette
colorGroup: SystemPalette.Active
}
Rectangle {
id: background
anchors.fill: parent
color: palette.window
}
Item {
id: mapItem
anchors {
......
......@@ -187,6 +187,7 @@ namespace Marble
,d(new MarbleQuickItemPrivate(this))
{
setRenderTarget(QQuickPaintedItem::FramebufferObject);
setOpaquePainting(true);
qRegisterMetaType<Placemark*>("Placemark*");
foreach (AbstractFloatItem *item, d->m_map.floatItems()) {
......
Supports Markdown
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